makedeb


ventoy-bin 1.0.99-0


An utility to directly boot image files without reformating the USB

Click here to go back to the commit logs for ventoy-bin.

Commit:


Hash: bd8c4ff2fd5e750fa1486811f66c015a974d964f

Message: fix ARM build

Diff


diff --git a/.SRCINFO b/.SRCINFO
index b3acdef..f8a25af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ventoy-bin
 	pkgdesc = A new multiboot USB solution
 	pkgver = 1.0.79
-	pkgrel = 1
+	pkgrel = 2
 	url = http://www.ventoy.net
 	install = ventoy.install
 	arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index 055e6d6..a709c48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=ventoy-bin
 pkgver=1.0.79
-pkgrel=1
+pkgrel=2
 pkgdesc="A new multiboot USB solution"
 arch=('aarch64' 'i686' 'x86_64')
 url="http://www.ventoy.net"
@@ -86,5 +86,7 @@ package() {
   install -Dm755 "$srcdir/${pkgname%-bin}"{,gui,web,plugson,-{,extend-}persistent} -vt "$pkgdir"/usr/bin/
 
   # Remove Gtk 2 files
-  rm "$pkgdir/opt/${pkgname%-bin}/tool/$CARCH/Ventoy2Disk.gtk2"
+  if [ $CARCH == "x86_64" ]; then
+    rm "$pkgdir/opt/${pkgname%-bin}/tool/$CARCH/Ventoy2Disk.gtk2"
+  fi
 }