From e1c8fb84f94a98f3de36610a5b73da00909a5440 Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 26 Apr 2019 17:05:51 -0500 Subject: user/perl-devel-hide: new package --- user/perl-devel-hide/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-devel-hide/APKBUILD (limited to 'user/perl-devel-hide/APKBUILD') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2