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: c51c674e9ee50855c0ae0b30e6226373df93bd9c

Message: include all files

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 09c7b8a..7d1f5ff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = ventoy-bin
 	pkgdesc = A new multiboot USB solution (Binary)
 	pkgver = 1.0.12
-	pkgrel = 1
+	pkgrel = 2
 	url = http://www.ventoy.net/
 	arch = i686
 	arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index bf2dc4d..632a537 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,29 @@
 # Maintainer: DuckSoft <realducksoft at gmail dot com>
+# Co-Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
 # Contributor: KokaKiwi <kokakiwi+aur@kokakiwi.net>
 
 pkgname=ventoy-bin
-_pkgname=ventoy
-provides=(ventoy)
-conflicts=(ventoy)
 pkgver=1.0.12
-pkgrel=1
+pkgrel=2
 pkgdesc='A new multiboot USB solution (Binary)'
 url='http://www.ventoy.net/'
 arch=('i686' 'x86_64')
 license=('GPL3')
 depends=('bash' 'util-linux')
-source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/ventoy-${pkgver}-linux.tar.gz"
+provides=("${pkgname%-bin}")
+conflicts=("${pkgname%-bin}")
+source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux.tar.gz"
         'ventoy')
 sha512sums=('b89c4de490ec7af8358c98c7613ba2cb91e42c2db0c7e541ac62e1b3d9dfb7ff2d7550c72a71e52b0e27f7b030053e62b1b3bde3ed93fe7b00be78d4abe00865'
             '27fef4c8e254863896888cf3e77a39ed377100effc69a4518fe55038069c7c1e8b56f1a79d47d969eda8e5bd90920e93b34dd361aac67be948266d1e7b238dcd')
 
-prepare() {
-  cd "${_pkgname}-${pkgver}"
-
-  msg2 "Patching log.txt stuff..."
-  sed -i '/log\.txt/s/.*/true/' tool/ventoy_lib.sh
-}
-
 package() {
-  cd "${_pkgname}-${pkgver}"
+  cd "${pkgname%-bin}-${pkgver}"
 
-  install -Dm644 boot/* -t "$pkgdir"/opt/ventoy/boot/
-  install -Dm644 ventoy/* -t "$pkgdir"/opt/ventoy/ventoy/
-  install -Dm755 tool/* -t "$pkgdir"/opt/ventoy/tool/
-  install -Dm755 Ventoy2Disk.sh -t "$pkgdir"/opt/ventoy/
+  install -Dm644 boot/* -t "$pkgdir/opt/${pkgname%-bin}/boot/"
+  install -Dm644 "${pkgname%-bin}"/* -t "$pkgdir/opt/${pkgname%-bin}/${pkgname%-bin}/"
+  install -Dm755 tool/* -t "$pkgdir/opt/${pkgname%-bin}/tool/"
+  install -Dm755 *.sh -t "$pkgdir/opt/${pkgname%-bin}/"
 
-  install -Dm755 ../ventoy -t "$pkgdir"/usr/bin/
+  install -Dm755 "$srcdir/${pkgname%-bin}" -t "$pkgdir"/usr/bin/
 }