summaryrefslogtreecommitdiff
path: root/user/perl-sub-exporter-progressive
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 20:40:16 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 20:40:16 -0700
commit6bc347193f95609b6160fd675e6e5188ad9322a3 (patch)
treef3276e851e462cea9a68d05ba004520c65f2d8cc /user/perl-sub-exporter-progressive
parent42d16d343937ea492230ad82aa261ac824c0628a (diff)
downloadpackages-6bc347193f95609b6160fd675e6e5188ad9322a3.tar.gz
packages-6bc347193f95609b6160fd675e6e5188ad9322a3.tar.bz2
packages-6bc347193f95609b6160fd675e6e5188ad9322a3.tar.xz
packages-6bc347193f95609b6160fd675e6e5188ad9322a3.zip
user/perl-sub-exporter-progressive: new package
Diffstat (limited to 'user/perl-sub-exporter-progressive')
-rw-r--r--user/perl-sub-exporter-progressive/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-sub-exporter-progressive/APKBUILD b/user/perl-sub-exporter-progressive/APKBUILD
new file mode 100644
index 000000000..a744538c5
--- /dev/null
+++ b/user/perl-sub-exporter-progressive/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-sub-exporter-progressive
+pkgver=0.001013
+pkgrel=0
+pkgdesc="Only use Sub::Exporter if you need it"
+url="https://metacpan.org/pod/Sub::Exporter::Progressive"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl perl-sub-exporter"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/F/FR/FREW/Sub-Exporter-Progressive-$pkgver.tar.gz"
+builddir="$srcdir/Sub-Exporter-Progressive-$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="28d0ac6a380a4fc1515bd69320bcfd073c0c0e92ea34bb924972aa46fb2f6912485d686f0eca5d5b885d8b06927250dfaacd1a7ff86ba029f879a183cba546c4 Sub-Exporter-Progressive-0.001013.tar.gz"