summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f3115e82b9869fe878a4b6302e0853dd07544f9 (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
# Maintainer: Bjoern Franke  <bjo@nord-west.org>

pkgbase=dnssec-reverb-git
pkgname=dnssec-reverb
pkgver=r13.376067d
pkgrel=1
pkgdesc="Shell script based DNSSEC key management tool"
arch=('any')
url="https://github.com/northox/dnssec-reverb"
license=('Simplified BSD')
optdepends=('dnssec-tools: DNSSEC tools for BIND'
	    'ldns: tools for NSD')
source=("${pkgname}::git+https://github.com/northox/${pkgname}.git")
md5sums=('SKIP')

pkgver() {
    cd "${srcdir}/${pkgname}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


package() {
  cd "${srcdir}/${pkgname}"
 install -D dnssec-reverb "${pkgdir}/usr/bin/dnssec-reverb"
 install -d "${pkgdir}/etc/"
 install -D -m644 *.conf* "${pkgdir}/etc/" 
}