diff options
author | Bennett Piater | 2019-05-17 09:38:35 +0200 |
---|---|---|
committer | Bennett Piater | 2019-05-17 09:38:35 +0200 |
commit | 6f8668855644e61112e02fa5d385f0e953de432f (patch) | |
tree | 3e545428a0735336b9b322ec4171e02b8e279016 | |
parent | c2670db5e04e9f1153c1e9c52f4666f8b3f53222 (diff) | |
download | aur-6f8668855644e61112e02fa5d385f0e953de432f.tar.gz |
upgpkg: gpgsync 0.3.3-2
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | gpgsync.service | 7 | ||||
-rw-r--r-- | gpgsync.timer | 10 |
4 files changed, 36 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = gpgsync pkgdesc = A tool to let users always have up-to-date public keys for other members of their organization. pkgver = 0.3.3 - pkgrel = 1 + pkgrel = 2 url = https://github.com/firstlookmedia/gpgsync/ arch = any license = GPL3 @@ -14,7 +14,11 @@ pkgbase = gpgsync depends = python-dateutil depends = gnupg source = gpgsync-0.3.3.tar.gz::https://github.com/firstlookmedia/gpgsync/archive/v0.3.3.tar.gz + source = gpgsync.service + source = gpgsync.timer sha512sums = 27264a7582068a2fa6bd2fbf85e7d9d15b61535ed2df96624f29e1ac0efc5367df90b274b1822bef71358b58a7753c7b20073aafc0bec22c71741f24bd51061f + sha512sums = 26a56775912d680ce34c32c5e24a3dd5826b3ea78c6c3d4295d8da199d881b30c200631fd0a49077c3b4617e4941cbcd57a342e535939ea04fe4e489f15f9d18 + sha512sums = f4d02c8d001d42db99e1cbc746b92ef41b15c13a3c3ad3e972f570d67f8f4d31b87ba7ee9440fcae190b38ee32d1f46f835a93c845cd6ac982aaea441f1ae8a9 pkgname = gpgsync @@ -2,18 +2,27 @@ pkgname=gpgsync pkgver=0.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="A tool to let users always have up-to-date public keys for other members of their organization." arch=('any') url="https://github.com/firstlookmedia/gpgsync/" license=('GPL3') depends=('python-setuptools' 'python-pyqt5' 'python-nose' 'python-requests' 'python-socks' 'python-packaging' 'python-dateutil' 'gnupg') -source=("$pkgname-$pkgver.tar.gz::https://github.com/firstlookmedia/${pkgname}/archive/v${pkgver}.tar.gz") -sha512sums=('27264a7582068a2fa6bd2fbf85e7d9d15b61535ed2df96624f29e1ac0efc5367df90b274b1822bef71358b58a7753c7b20073aafc0bec22c71741f24bd51061f') +source=("$pkgname-$pkgver.tar.gz::https://github.com/firstlookmedia/${pkgname}/archive/v${pkgver}.tar.gz" gpgsync.{service,timer}) +sha512sums=('27264a7582068a2fa6bd2fbf85e7d9d15b61535ed2df96624f29e1ac0efc5367df90b274b1822bef71358b58a7753c7b20073aafc0bec22c71741f24bd51061f' + '26a56775912d680ce34c32c5e24a3dd5826b3ea78c6c3d4295d8da199d881b30c200631fd0a49077c3b4617e4941cbcd57a342e535939ea04fe4e489f15f9d18' + 'f4d02c8d001d42db99e1cbc746b92ef41b15c13a3c3ad3e972f570d67f8f4d31b87ba7ee9440fcae190b38ee32d1f46f835a93c845cd6ac982aaea441f1ae8a9') + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} package() { - cd "$srcdir/$pkgname-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 + cd "$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + + install -Dm644 -t "$pkgdir/usr/lib/systemd/user" gpgsync.{service,timer} } # vim:set ts=2 sw=2 et diff --git a/gpgsync.service b/gpgsync.service new file mode 100644 index 000000000000..d5652e5471b8 --- /dev/null +++ b/gpgsync.service @@ -0,0 +1,7 @@ +[Unit] +Description=Synchronize GPG public keys +Documentation=https://github.com/firstlookmedia/gpgsync + +[Service] +Type=oneshot +ExecStart=/usr/bin/env gpgsync --sync diff --git a/gpgsync.timer b/gpgsync.timer new file mode 100644 index 000000000000..09dc030136da --- /dev/null +++ b/gpgsync.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Periodically sync GPG keys + +[Timer] +OnCalendar=daily +Persistent=true +RandomizedDelaySec=2000 + +[Install] +WantedBy=timers.target |