diff options
Diffstat (limited to 'user/perl-devel-hide/APKBUILD')
-rw-r--r-- | user/perl-devel-hide/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-devel-hide/APKBUILD b/user/perl-devel-hide/APKBUILD new file mode 100644 index 000000000..6eea34be8 --- /dev/null +++ b/user/perl-devel-hide/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-devel-hide +pkgver=0.0010 +pkgrel=0 +pkgdesc="Perl module for forcing the unavailability of modules for testing" +url="https://metacpan.org/pod/Devel::Hide" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl" +makedepends="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/F/FE/FERREIRA/Devel-Hide-$pkgver.tar.gz" +builddir="$srcdir/Devel-Hide-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + 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" |