From 63a57aadee0c0d210f1a06c541c6eba887ef6e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Wed, 11 Jun 2014 17:29:59 -0300 Subject: parcimonie-sh-git --- pcr/parcimonie-sh-git/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pcr/parcimonie-sh-git/PKGBUILD 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 +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" +} -- cgit v1.2.3-2-g168b