blob: 40301129a80f0b64e079fc4ef054e865ba15873b (
plain) (
tree)
|
|
# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-array-intspan
_pkgreal=Array-IntSpan
_author=DDUMONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.004
pkgrel=0
pkgdesc="Perl modules for interacting with arrays via integers"
url="https://metacpan.org/pod/Array::IntSpan"
arch="noarch"
license="Artistic-2.0"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/Array-IntSpan-$pkgver.tar.gz"
builddir="$srcdir/Array-IntSpan-$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="52f210e3beec0c1839baa51d68456c6aafbf9764e938f366317895ec26a6101bd4c83b738cf80326bdf975d68e01a796c1fc6ca3c9584ec50aaa45b3e8d7c7ba Array-IntSpan-2.004.tar.gz"
|