diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 22:12:57 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 22:12:57 +0000 |
commit | 68db04235a00df192a26acc50e32eb52ed87c5b8 (patch) | |
tree | 6ff0efeefdfa7a75193c41a7b945d2637de39fcc | |
parent | 81e9202451f8d9cc77e2ce88d2a8fc3d19ea3794 (diff) | |
download | packages-68db04235a00df192a26acc50e32eb52ed87c5b8.tar.gz packages-68db04235a00df192a26acc50e32eb52ed87c5b8.tar.bz2 packages-68db04235a00df192a26acc50e32eb52ed87c5b8.tar.xz packages-68db04235a00df192a26acc50e32eb52ed87c5b8.zip |
user/perl-devel-overloadinfo: new package
-rw-r--r-- | user/perl-devel-overloadinfo/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-devel-overloadinfo/APKBUILD b/user/perl-devel-overloadinfo/APKBUILD new file mode 100644 index 000000000..98601047e --- /dev/null +++ b/user/perl-devel-overloadinfo/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-devel-overloadinfo +pkgver=0.005 +pkgrel=0 +pkgdesc="Introspect overloaded Perl operators" +url="https://metacpan.org/release/Devel-OverloadInfo" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-mro-compat perl-package-stash perl-sub-identify" +makedepends="perl-dev" +checkdepends="perl-test-fatal" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/I/IL/ILMARI/Devel-OverloadInfo-$pkgver.tar.gz" +builddir="$srcdir/Devel-OverloadInfo-$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="66ff0869ecd34b2a80e6c8052e9ba7cf396b85e25f2efa92e42447ae3164ac50f703ca4dbee38ac676b70caf19ce189a6d2a1d6322cf3af342d4edd5c0b336e7 Devel-OverloadInfo-0.005.tar.gz" |