diff options
Diffstat (limited to 'pcr/parcimonie-sh-git')
-rw-r--r-- | pcr/parcimonie-sh-git/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/parcimonie-sh-git/PKGBUILD b/pcr/parcimonie-sh-git/PKGBUILD new file mode 100644 index 000000000..da9097afc --- /dev/null +++ b/pcr/parcimonie-sh-git/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Etienne Perot <etienne at perot dot me> +pkgname=parcimonie-sh-git +pkgver=16.9523a3e +pkgrel=1 +pkgdesc='Bash reimplementation of parcimonie - Refresh your GnuPG keyring without disclosing your whole contact list to the world' +arch=('any') +url='https://github.com/EtiennePerot/parcimonie.sh' +license=('WTFPL') +depends=('bash' 'torsocks' 'tor' 'gnupg') +makedepends=('git') +source=('git+https://github.com/EtiennePerot/parcimonie.sh') +sha512sums=('SKIP') + +pkgver() { + cd "$startdir/parcimonie.sh" + echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +build() { + : +} + +package() { + cd "$srcdir/parcimonie.sh" + 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" + install -D -m644 pkg/sample-configuration.conf.sample "${pkgdir}/etc/parcimonie.sh.d/sample-configuration.conf.sample" + install -D -m644 pkg/all-users.conf "${pkgdir}/etc/parcimonie.sh.d/all-users.conf" + mkdir -p "${pkgdir}/usr/bin" + ln -sf /usr/share/parcimonie.sh/parcimonie.sh "${pkgdir}/usr/bin/parcimonie.sh" +} |