summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1912c203efc65c0f55bea68d3ddd923e57d40233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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"
}