blob: 7c52c285427979e7430315fe42db286b742759aa (
plain)
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
|
# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
pkgname=perl-array-intspan
pkgver=2.004
pkgrel=1
pkgdesc="Module for handling arrays using integer ranges"
arch=('any')
url="https://github.com/dod38fr/array-intspan-perl"
license=('Artistic2.0')
depends=('perl')
source=("https://www.cpan.org/modules/by-module/Array/Array-IntSpan-${pkgver}.tar.gz")
sha512sums=('52f210e3beec0c1839baa51d68456c6aafbf9764e938f366317895ec26a6101bd4c83b738cf80326bdf975d68e01a796c1fc6ca3c9584ec50aaa45b3e8d7c7ba')
build() {
cd "${srcdir}/Array-IntSpan-${pkgver}"
perl Makefile.PL NO_PACKLIST=true
make
}
check() {
cd "${srcdir}/Array-IntSpan-${pkgver}"
make test
}
package() {
cd "${srcdir}/Array-IntSpan-${pkgver}"
make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
}
|