diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 21:29:44 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 21:29:44 -0700 |
commit | 86b5fb36b7e5a408000920cd453c44fec2634253 (patch) | |
tree | f3f929eb2199ab745d3a2747e53eed7373746901 /user/perl-any-moose | |
parent | 078abbed89a604d69a315410198e3aba3f3e3fc2 (diff) | |
download | packages-86b5fb36b7e5a408000920cd453c44fec2634253.tar.gz packages-86b5fb36b7e5a408000920cd453c44fec2634253.tar.bz2 packages-86b5fb36b7e5a408000920cd453c44fec2634253.tar.xz packages-86b5fb36b7e5a408000920cd453c44fec2634253.zip |
user/perl-any-moose: new package
Diffstat (limited to 'user/perl-any-moose')
-rw-r--r-- | user/perl-any-moose/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-any-moose/APKBUILD b/user/perl-any-moose/APKBUILD new file mode 100644 index 000000000..eed2735ca --- /dev/null +++ b/user/perl-any-moose/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-any-moose +pkgver=0.27 +pkgrel=0 +pkgdesc="Deprecated Moose Mouse abstraction layer" +url="https://metacpan.org/pod/Any::Moose" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl perl-mouse" +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Any-Moose-$pkgver.tar.gz" +builddir="$srcdir/Any-Moose-$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="5c97caf2e64462bae95fc4d5dd41868c01f856bd8f74872985254b7cc6ce0e13b4accad7955047ff5c4013399f7aea2ad6d48ae3592883a3b6cd20c0e4478b7b Any-Moose-0.27.tar.gz" |