diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-25 21:13:32 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-25 21:13:32 -0700 |
commit | d05ef18194544dcf30b45ad801c37794d4b5c037 (patch) | |
tree | e448fba1e1ab4b00c6de8ca05a5dcbf3acee614d /user | |
parent | 0714a18aafe17e6a1e23a7ecd4b39c0a7d1f8ea8 (diff) | |
download | packages-d05ef18194544dcf30b45ad801c37794d4b5c037.tar.gz packages-d05ef18194544dcf30b45ad801c37794d4b5c037.tar.bz2 packages-d05ef18194544dcf30b45ad801c37794d4b5c037.tar.xz packages-d05ef18194544dcf30b45ad801c37794d4b5c037.zip |
user/perl-class-method-modifiers: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-class-method-modifiers/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-class-method-modifiers/APKBUILD b/user/perl-class-method-modifiers/APKBUILD new file mode 100644 index 000000000..7d22c357d --- /dev/null +++ b/user/perl-class-method-modifiers/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-class-method-modifiers +pkgver=2.12 +pkgrel=0 +pkgdesc="Provides Moose-like method modifiers" +url="https://metacpan.org/pod/Class::Method::Modifiers" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev" +checkdepends="perl-test-requires perl-test-fatal" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Class-Method-Modifiers-$pkgver.tar.gz" +builddir="$srcdir/Class-Method-Modifiers-$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="18c7cdff214d39a475b116cc5e6dda043c31765bcdfa9a1fa7242ce61e42583c4981d41a43ba556fb5a057e0cfbd5e52dd60048ea7dfae0fec3618dc47876dd4 Class-Method-Modifiers-2.12.tar.gz" |