Commit ae289a2b authored by Leo's avatar Leo

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

parent 5fc4e600
...@@ -4,37 +4,32 @@ ...@@ -4,37 +4,32 @@
pkgname=perl-bind-config-parser pkgname=perl-bind-config-parser
_pkgreal=BIND-Config-Parser _pkgreal=BIND-Config-Parser
pkgver=0.01 pkgver=0.01
pkgrel=1 pkgrel=2
pkgdesc="Parse BIND Config file" pkgdesc="Parse BIND Config file"
url="http://search.cpan.org/dist/BIND-Config-Parser/" url="https://metacpan.org/release/BIND-Config-Parser"
arch="noarch" arch="noarch"
license="GPL PerlArtistic" license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-parse-recdescent" cpandepends="perl-parse-recdescent"
cpanmakedepends=""
depends="$cpandepends" depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends" makedepends="perl-dev"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MATTD/$_pkgreal-$pkgver.tar.gz" source="http://search.cpan.org/CPAN/authors/id/M/MA/MATTD/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
prepare() { prepare() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
} }
build() { build() {
cd "$builddir"
make make
} }
check() { check() {
cd "$builddir"
make test make test
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete 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