blob: f29d32cdf3246b6606239af72ed84f44813f1672 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-set-intspan
_pkgreal=Set-IntSpan
pkgver=1.19
pkgrel=1
pkgdesc="Manages sets of integers, newsrc style"
url="https://metacpan.org/release/Set-IntSpan"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SW/SWMCD/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="7c21c2fedce5b7be7d8200e2cf2bdca1 Set-IntSpan-1.19.tar.gz"
sha256sums="11b7549b13ec5d87cc695dd4c777cd02983dd5fe9866012877fb530f48b3dfd0 Set-IntSpan-1.19.tar.gz"
sha512sums="de743bc26e4e9daf0bff636279219776421a31d1b3fa5d8e9232e051f2396cbfdd339dacd4aadc006cf31527935550c8659d8c80cbaed5942895239ab36c9cd9 Set-IntSpan-1.19.tar.gz"
|