summaryrefslogtreecommitdiff
path: root/user/perl-sub-exporter-progressive/APKBUILD
blob: c8ad23970b102e3f1777c21c1062b78223e4ad2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-sub-exporter-progressive
_pkgreal=Sub-Exporter-Progressive
_author=FREW
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="28d0ac6a380a4fc1515bd69320bcfd073c0c0e92ea34bb924972aa46fb2f6912485d686f0eca5d5b885d8b06927250dfaacd1a7ff86ba029f879a183cba546c4  Sub-Exporter-Progressive-0.001013.tar.gz"