Commit ae289a2b authored by Leo's avatar Leo

testing/perl-bind-config-parser: fix url fix license

parent 5fc4e600
......@@ -4,37 +4,32 @@
pkgname=perl-bind-config-parser
_pkgreal=BIND-Config-Parser
pkgver=0.01
pkgrel=1
pkgrel=2
pkgdesc="Parse BIND Config file"
url="http://search.cpan.org/dist/BIND-Config-Parser/"
url="https://metacpan.org/release/BIND-Config-Parser"
arch="noarch"
license="GPL PerlArtistic"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-parse-recdescent"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
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() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment