diff options
Diffstat (limited to 'community/perl-extutils-libbuilder/APKBUILD')
-rw-r--r-- | community/perl-extutils-libbuilder/APKBUILD | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/community/perl-extutils-libbuilder/APKBUILD b/community/perl-extutils-libbuilder/APKBUILD index ac22df73126..8a51ea08150 100644 --- a/community/perl-extutils-libbuilder/APKBUILD +++ b/community/perl-extutils-libbuilder/APKBUILD @@ -4,23 +4,19 @@ pkgname=perl-extutils-libbuilder _pkgreal=ExtUtils-LibBuilder pkgver=0.08 -pkgrel=3 +pkgrel=4 pkgdesc="Perl module for ExtUtils-LibBuilder" url="https://metacpan.org/release/ExtUtils-LibBuilder/" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-module-build" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends perl-test-pod perl-test-pod-coverage" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-module-build perl-test-pod perl-test-pod-coverage" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/A/AM/AMBS/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { default_prepare - - cd "$builddir" if [ -e Build.PL ]; then perl Build.PL installdirs=vendor else @@ -29,21 +25,17 @@ prepare() { } build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') ./Build } check() { - cd "$builddir" - ./Build test + ./Build test } package() { - cd "$builddir" ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } - sha512sums="c9cb95ff9ce3d30163e3e6e76adc03e164bddcef1fa58a068f6fc41e4be7289f06712457fba341244e6d37ec5976912920d44ac02ff6c9a2cde368b102e5133e ExtUtils-LibBuilder-0.08.tar.gz" |