blob: 40301129a80f0b64e079fc4ef054e865ba15873b (
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: 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"
|