diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 20:42:56 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 20:42:56 -0700 |
commit | 0714a18aafe17e6a1e23a7ecd4b39c0a7d1f8ea8 (patch) | |
tree | 0911580149e5184478c8fbccd10195285d70ad14 /user/perl-devel-globaldestruction/APKBUILD | |
parent | 6bc347193f95609b6160fd675e6e5188ad9322a3 (diff) | |
download | packages-0714a18aafe17e6a1e23a7ecd4b39c0a7d1f8ea8.tar.gz packages-0714a18aafe17e6a1e23a7ecd4b39c0a7d1f8ea8.tar.bz2 packages-0714a18aafe17e6a1e23a7ecd4b39c0a7d1f8ea8.tar.xz packages-0714a18aafe17e6a1e23a7ecd4b39c0a7d1f8ea8.zip |
user/perl-devel-globaldestruction: new package
Diffstat (limited to 'user/perl-devel-globaldestruction/APKBUILD')
-rw-r--r-- | user/perl-devel-globaldestruction/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-devel-globaldestruction/APKBUILD b/user/perl-devel-globaldestruction/APKBUILD new file mode 100644 index 000000000..af612cad4 --- /dev/null +++ b/user/perl-devel-globaldestruction/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-devel-globaldestruction +pkgver=0.14 +pkgrel=0 +pkgdesc="Provides Global Destruction for older perls" +url="https://metacpan.org/pod/Devel::GlobalDestruction" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl perl-sub-exporter-progressive" +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Devel-GlobalDestruction-$pkgver.tar.gz" +builddir="$srcdir/Devel-GlobalDestruction-$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="75c346feae98897fb202dea0295f0225bf3cac59f21915da5dd1cdcf845052f4f8bcd0362d357020fb0facb6358175112b3685860ca1c1f173421c7c6a54f45d Devel-GlobalDestruction-0.14.tar.gz" |