diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:51:09 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:51:09 +0000 |
commit | 39f8f2bf216744d93a0cd3588f57f8bec2781bfe (patch) | |
tree | 822819a0afa88d70e1a7afcb7b3292119506a1bd /user/perl-b-hooks-endofscope/APKBUILD | |
parent | 02f407488b36ca32ff75bbf6b6e0baeeae6efc9e (diff) | |
download | packages-39f8f2bf216744d93a0cd3588f57f8bec2781bfe.tar.gz packages-39f8f2bf216744d93a0cd3588f57f8bec2781bfe.tar.bz2 packages-39f8f2bf216744d93a0cd3588f57f8bec2781bfe.tar.xz packages-39f8f2bf216744d93a0cd3588f57f8bec2781bfe.zip |
user/perl-b-hooks-endofscope: new package
Diffstat (limited to 'user/perl-b-hooks-endofscope/APKBUILD')
-rw-r--r-- | user/perl-b-hooks-endofscope/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-b-hooks-endofscope/APKBUILD b/user/perl-b-hooks-endofscope/APKBUILD new file mode 100644 index 000000000..0d9d641c2 --- /dev/null +++ b/user/perl-b-hooks-endofscope/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-b-hooks-endofscope +pkgver=0.24 +pkgrel=0 +pkgdesc="Execute Perl code after a scope finished compilation" +url="https://metacpan.org/release/B-Hooks-EndOfScope" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-module-implementation perl-sub-exporter-progressive perl-sub-name + perl-variable-magic" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-$pkgver.tar.gz" +builddir="$srcdir/B-Hooks-EndOfScope-$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="5c061a81a3fed88ad868a14a1f817f7952b2f0c9512408174354e0ecf7e3caa5d646054cf75efa8b8c558e6241a8dfebf9400e8826021bdb5cbdf3a00065b147 B-Hooks-EndOfScope-0.24.tar.gz" |