summaryrefslogtreecommitdiff
path: root/pcr/parcimonie-sh-git
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-06-11 17:29:59 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-06-11 17:29:59 -0300
commit63a57aadee0c0d210f1a06c541c6eba887ef6e59 (patch)
treeb2ed752bfb202b6ffd0e71c722b9225c940796a4 /pcr/parcimonie-sh-git
parent57df863289a196472d9babbc39c7c0ee1af9410d (diff)
downloadabslibre-63a57aadee0c0d210f1a06c541c6eba887ef6e59.tar.gz
abslibre-63a57aadee0c0d210f1a06c541c6eba887ef6e59.tar.bz2
abslibre-63a57aadee0c0d210f1a06c541c6eba887ef6e59.zip
parcimonie-sh-git
Diffstat (limited to 'pcr/parcimonie-sh-git')
-rw-r--r--pcr/parcimonie-sh-git/PKGBUILD32
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"
+}