diff options
author | Adrian Perez de Castro | 2016-10-30 23:17:16 +0200 |
---|---|---|
committer | Adrian Perez de Castro | 2016-10-30 23:17:16 +0200 |
commit | ec97a38fe8bd33280231434084494a7f60e270ee (patch) | |
tree | 92f646159a2ad0662168247749dc292d6fd4372c | |
parent | 722ebc29986c85851b2cebda9c91d4d5fe37cc6d (diff) | |
download | aur-ec97a38fe8bd33280231434084494a7f60e270ee.tar.gz |
Update to version 0.4.4
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 24 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = dmon pkgdesc = Toolset for daemonizing and supervising processes - pkgver = 0.4.3 + pkgver = 0.4.4 pkgrel = 1 url = https://github.com/aperezdc/dmon arch = i686 @@ -8,9 +8,11 @@ pkgbase = dmon arch = arm license = MIT makedepends = make + makedepends = gnupg depends = glibc - source = git+https://github.com/aperezdc/dmon.git#tag=v0.4.3 + source = git+https://github.com/aperezdc/dmon.git#tag=v0.4.4 source = git+https://github.com/aperezdc/wheel.git + validpgpkeys = 91C559DBE4C9123B sha1sums = SKIP sha1sums = SKIP @@ -1,22 +1,36 @@ # Maintainer: Adrian Perez <aperez@igalia.com> pkgname='dmon' -pkgver='0.4.3' +pkgver='0.4.4' pkgrel='1' pkgdesc='Toolset for daemonizing and supervising processes' arch=('i686' 'x86_64' 'arm') url='https://github.com/aperezdc/dmon' license=('MIT') depends=('glibc') -makedepends=('make') +makedepends=('make' 'gnupg') +validpgpkeys=('91C559DBE4C9123B') source=("git+https://github.com/aperezdc/dmon.git#tag=v${pkgver}" "git+https://github.com/aperezdc/wheel.git") sha1sums=('SKIP' 'SKIP') +_checktag () { + local -a line + while read -r -a line ; do + if [[ ${line[1]} = GOODSIG && ${line[2]} = ${validpgpkeys[0]} ]] ; then + return 0 + fi + done < <( git verify-tag "v${pkgver}" --raw 2>&1 ) + return 1 +} + prepare () { - cd dmon - git submodule init - git config submodule.wheel.url "${srcdir}/wheel" - git submodule update + cd dmon + git submodule init + git config submodule.wheel.url "${srcdir}/wheel" + git submodule update + if ! git verify-tag "v${pkgver}" || ! _checktag ; then + exit 42 + fi } build() { |