makedeb


hooroo 0.4.1-2


Synchronise your packages with a file

Click here to go back to the commit logs for hooroo.

Commit:


Hash: efb662c8fb24903855a56f5979682cae7d15987b

Message: Update to v0.4.1-2

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 864a5b4..0c48605 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,12 +2,12 @@ generated-by = makedeb
 pkgname = hooroo
 pkgbase = hooroo
 pkgdesc = Synchronise your packages with a file
-pkgrel = 1
+pkgrel = 2
 pkgver = 0.4.1
 url = https://github.com/ca-cl2/hooroo
 arch = any
 depends = bash
 license = Apache
 provides = hooroo
-source = https://github.com/ca-cl2/hooroo/archive/refs/tags/v0.4.1.tar.gz
+source = hooroo-0.4.1.tar.gz::https://github.com/ca-cl2/hooroo/archive/refs/tags/v0.4.1.tar.gz
 sha256sums = 6d2a46125e652022fc9070dafddf1f95d3c7e3fbd723964b0c78c632a1993185
diff --git a/PKGBUILD b/PKGBUILD
index a2bb713..9323ace 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,20 @@
 
 pkgname=hooroo
 pkgver=0.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Synchronise your packages with a file'
 arch=('any')
-url="https://github.com/ca-cl2/${pkgname}"
+url="https://github.com/ca-cl2/$pkgname"
 license=('Apache')
 depends=('bash')
 provides=("$pkgname")
-source=("https://github.com/ca-cl2/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ca-cl2/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
 sha256sums=('6d2a46125e652022fc9070dafddf1f95d3c7e3fbd723964b0c78c632a1993185')
 
 package() {
-	install -Dm755 "${pkgname}-${pkgver}/${pkgname}" -t "${pkgdir}/usr/bin"
-	install -Dm644 "${pkgname}-${pkgver}/${pkgname}.bash" "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-	install -Dm644 "${pkgname}-${pkgver}/${pkgname}.conf" -t "${pkgdir}/etc/apt/apt.conf.d"
-	install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/doc/${pkgname}/copyright"
+	cd "$srcdir/$pkgname-$pkgver"
+	install -Dm755 "$pkgname" -t "$pkgdir/usr/bin"
+	install -Dm644 "$pkgname.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
+	install -Dm644 "$pkgname.conf" -t "$pkgdir/etc/apt/apt.conf.d"
+	install -Dm644 LICENSE "$pkgdir/usr/share/doc/$pkgname/copyright"
 }