diff options
Diffstat (limited to 'community/perl-devel-hide/APKBUILD')
-rw-r--r-- | community/perl-devel-hide/APKBUILD | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/community/perl-devel-hide/APKBUILD b/community/perl-devel-hide/APKBUILD index b155a03ef5..62acaba320 100644 --- a/community/perl-devel-hide/APKBUILD +++ b/community/perl-devel-hide/APKBUILD @@ -1,43 +1,35 @@ # Automatically generated by apkbuild-cpan, template 1 # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-devel-hide -_pkgreal=Devel-Hide -pkgver=0.0010 -pkgrel=1 +pkgver=0.0013 +pkgrel=0 pkgdesc="Forces the unavailability of specified Perl modules (for testing)" url="https://metacpan.org/release/Devel-Hide/" arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-test-pod perl-test-pod-coverage" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev perl-test-pod perl-test-pod-coverage" subpackages="$pkgname-doc" -source="https://cpan.metacpan.org/authors/id/F/FE/FERREIRA/$_pkgreal-$pkgver.tar.gz" - -builddir="$srcdir/$_pkgreal-$pkgver" +source="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Devel-Hide-$pkgver.tar.gz" +builddir="$srcdir/Devel-Hide-$pkgver" prepare() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { - cd "$builddir" - make test + make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="50bd9daf86239963e501936f09c0ee4b19be65deef22774910813a2502a2f60a6efcf7fbd586f2ea09c60ca1b77aa418a08043151f5a0d9915b7d881d66013c9 Devel-Hide-0.0010.tar.gz" +sha512sums="acaa190dcc046ddc6c5bfb300ab2042b87bc43e67d1766cde07a83380ea3989461cec9527e0f7c1881ae7e9ac4aeb75b6255cdda287c280dabb2d5b7b9b785d6 Devel-Hide-0.0013.tar.gz" |