summaryrefslogtreecommitdiff
path: root/pcr/parcimonie-sh-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/parcimonie-sh-git/PKGBUILD')
-rw-r--r--pcr/parcimonie-sh-git/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/pcr/parcimonie-sh-git/PKGBUILD b/pcr/parcimonie-sh-git/PKGBUILD
index da9097afc..e8416b1ae 100644
--- a/pcr/parcimonie-sh-git/PKGBUILD
+++ b/pcr/parcimonie-sh-git/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Etienne Perot <etienne at perot dot me>
pkgname=parcimonie-sh-git
-pkgver=16.9523a3e
+_pkgname=parcimonie.sh
+pkgver=38.328bd84
pkgrel=1
pkgdesc='Bash reimplementation of parcimonie - Refresh your GnuPG keyring without disclosing your whole contact list to the world'
arch=('any')
@@ -12,7 +13,7 @@ source=('git+https://github.com/EtiennePerot/parcimonie.sh')
sha512sums=('SKIP')
pkgver() {
- cd "$startdir/parcimonie.sh"
+ cd "${_pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
@@ -21,7 +22,7 @@ build() {
}
package() {
- cd "$srcdir/parcimonie.sh"
+ cd "${_pkgname}"
install -D -m644 README.md "${pkgdir}/usr/share/parcimonie.sh/README.md"
install -D -m755 parcimonie.sh "${pkgdir}/usr/share/parcimonie.sh/parcimonie.sh"
install -D -m644 pkg/parcimonie.sh@.service "${pkgdir}/usr/lib/systemd/system/parcimonie.sh@.service"