blob: c5dd89fba4dbd539b62357723703e7be9f14e3d4 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-bind-config-parser
_pkgreal=BIND-Config-Parser
pkgver=0.01
pkgrel=2
pkgdesc="Parse BIND Config file"
url="https://metacpan.org/release/BIND-Config-Parser"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-parse-recdescent"
depends="$cpandepends"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MATTD/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="9b2266881388e808047c452a1b616ede815e9e9349edb7d8e17ee256a8ba4054ae45caeb3f30ed3a7508093d61061e1ed3b0ade53cc19e553d12efd781e6aa65 BIND-Config-Parser-0.01.tar.gz"
|