blob: 29c7d4c760910b651aad40b797b776d61aaebb94 (
plain) (
tree)
|
|
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-sub-exporter
_pkgreal=Sub-Exporter
_author=RJBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.988
pkgrel=0
pkgdesc="A sophisticated exporter for custom-built routines"
url="https://metacpan.org/release/Sub-Exporter"
arch="noarch"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl-data-optlist perl-sub-install perl-params-util"
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="e992739097eca3aab0465e33ca60d91e4b08ee40d7cd041be4452873790e438bb1fb293331f919ae1e9b879fc063d17586218a9e97838cf61216172d6bdba273 Sub-Exporter-0.988.tar.gz"
|