summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c95ad5a456c05af43dcccd1dba2bafea0989879a (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
# Maintainer: nightuser <nightuser.android@gmail.com>
# Contributor: Antoine Pierlot-Garcin <antoine@bokbox.com>

pkgname=debsig-verify
pkgver=0.29
pkgrel=1
pkgdesc="Debian package signature verification tool"
arch=('x86_64' 'armv7h' 'aarch64')
url="https://git.dpkg.org/git/dpkg/debsig-verify.git"
license=('GPL2')
depends=('dpkg' 'expat')
makedepends=()
source=("git+https://git.dpkg.org/git/dpkg/debsig-verify.git#tag=${pkgver}")
sha256sums=('SKIP')

build() {
	cd "${srcdir}/${pkgname}"
	./autogen
	./configure --prefix=/usr \
	            --sysconfdir=/etc
	make
}

check() {
	cd "${srcdir}/${pkgname}/test"
	make check-local
}

package() {
	cd "${srcdir}/${pkgname}"
	make DESTDIR="${pkgdir}" install
	install -m 0755 -d "${pkgdir}/usr/share/doc/${pkgname}"
	install -m 0644 doc/policy-syntax.txt doc/policy.dtd "${pkgdir}/usr/share/doc/${pkgname}"
}

# vim: set noet sw=8 ts=8 tw=79: