blob: ae6752c1fd0eed69e66de94d559f60fa356b58c6 (
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
|
# Maintainer: Thomas Haider <t.haider@deprecate.de>
# Contributor: Bjoern Franke <bjo@nord-west.org>
pkgbase=dnssec-reverb-git
pkgname=dnssec-reverb
pkgver=r30.9aa8e24
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')
makedepends=('git')
backup=('etc/dnssec-reverb.conf' 'etc/dnssec-reverb.conf-bind')
source=("${pkgname}::git+https://github.com/northox/${pkgname}.git"
"dateformat.patch"
"rootcheck.patch")
md5sums=('SKIP'
'8d7cb4088b45171ec9c3b64f95785464'
'172c4bc58fce6706259ace9b9d068e8f')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname-git}"
git apply ${srcdir}/dateformat.patch
git apply ${srcdir}/rootcheck.patch
}
package() {
cd "${srcdir}/${pkgname}"
install -D dnssec-reverb "${pkgdir}/usr/bin/dnssec-reverb"
install -d "${pkgdir}/etc/"
install -D -m644 *.conf* "${pkgdir}/etc/"
}
|