summaryrefslogtreecommitdiff
path: root/user/perl-mro-compat
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 22:03:21 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 22:03:21 +0000
commit81e9202451f8d9cc77e2ce88d2a8fc3d19ea3794 (patch)
treef564a86455f56374f238636dd1eb33fc55f96a26 /user/perl-mro-compat
parentcb59c7f136503ef99c9ce760dc544d8971d4e683 (diff)
downloadpackages-81e9202451f8d9cc77e2ce88d2a8fc3d19ea3794.tar.gz
packages-81e9202451f8d9cc77e2ce88d2a8fc3d19ea3794.tar.bz2
packages-81e9202451f8d9cc77e2ce88d2a8fc3d19ea3794.tar.xz
packages-81e9202451f8d9cc77e2ce88d2a8fc3d19ea3794.zip
user/perl-mro-compat: new package
Diffstat (limited to 'user/perl-mro-compat')
-rw-r--r--user/perl-mro-compat/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-mro-compat/APKBUILD b/user/perl-mro-compat/APKBUILD
new file mode 100644
index 000000000..bdd0e6b96
--- /dev/null
+++ b/user/perl-mro-compat/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-mro-compat
+pkgver=0.13
+pkgrel=0
+pkgdesc="mro::* interface compatibility for older Perl"
+url="https://metacpan.org/release/MRO-Compat"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/MRO-Compat-$pkgver.tar.gz"
+builddir="$srcdir/MRO-Compat-$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="3311c37c8fc73acaf68bae2b12315a448a87de8f756e817c967cf49b753cf218e8c762ecc44890297afd82193d71b2407060db0bc70720d228b31c0a30de10c1 MRO-Compat-0.13.tar.gz"