diff options
-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" |