diff options
author | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-04-26 17:05:51 -0500 |
---|---|---|
committer | Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> | 2019-04-26 17:05:51 -0500 |
commit | e1c8fb84f94a98f3de36610a5b73da00909a5440 (patch) | |
tree | 6a711f292a3a51e15b84dbb70ad7b620831b041c /user/perl-devel-hide/APKBUILD | |
parent | 67e270a6f6d0adc31aa166b9213e4c7c15836bae (diff) | |
download | packages-e1c8fb84f94a98f3de36610a5b73da00909a5440.tar.gz packages-e1c8fb84f94a98f3de36610a5b73da00909a5440.tar.bz2 packages-e1c8fb84f94a98f3de36610a5b73da00909a5440.tar.xz packages-e1c8fb84f94a98f3de36610a5b73da00909a5440.zip |
user/perl-devel-hide: new package
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" |