diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-sub-exporter-progressive/APKBUILD | 34 |
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" |