diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8dc441120d46 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = check-sieve + pkgdesc = Syntax checker for mail sieves. + pkgver = 0.3 + pkgrel = 1 + url = https://github.com/dburkart/check-sieve + arch = i686 + arch = x86_64 + license = custom + makedepends = git + makedepends = gcc + makedepends = make + makedepends = bison + makedepends = flex + provides = check-sieve + conflicts = check-sieve + replaces = check-sieve + source = check-sieve::git+https://github.com/dburkart/check-sieve.git#commit=682d96738d26291b76a908b094d125877d30e1a2 + md5sums = SKIP + +pkgname = check-sieve + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1912c203efc6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Geoffrey Frogeye <geoffrey+aur@frogeye.fr> + +pkgname=check-sieve +pkgver=0.3 +_gitver=682d96738d26291b76a908b094d125877d30e1a2 +pkgrel=1 +pkgdesc="Syntax checker for mail sieves." +arch=('i686' 'x86_64') +url="https://github.com/dburkart/${pkgname}" +license=('custom') +groups=() +depends=() +makedepends=('git' 'gcc' 'make' 'bison' 'flex') +optdepends=() +provides=("${pkgname}") +conflicts=("${pkgname}") +replaces=("${pkgname}") +backup=() +options=() +install= +changelog= +source=("${pkgname}::git+https://github.com/dburkart/${pkgname}.git#commit=${_gitver}") +noextract=() +md5sums=('SKIP') + + +build() { + cd "${srcdir}/${pkgname}" + make +} + +#check() { +# cd "${srcdir}/${pkgname}" +# make test +#} + +package() { + cd "${srcdir}/${pkgname}" + install -Dm755 check-sieve "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +} + |