blob: 864a098d8c97a61858be364bb90cb3ee3d4553d5 (
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
35
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-scalar-list-utils
_pkgreal=Scalar-List-Utils
_author=PEVANS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.62
pkgrel=0
pkgdesc="Perl collection of utility functions for scalars, lists, and subs"
url="https://metacpan.org/release/Scalar-List-Utils"
arch="all"
license="GPL-1.0+ OR Artistic-1.0-Perl"
depends="perl"
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() {
export CFLAGS="$(perl -MConfig -E 'say $Config{ccflags}')"
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="3f641ab51a229356e3b23e576f2da96ff59bf54484a14caa78c89111ff060998c7c6f780d608f3ee90d4538b45a78e1327427b9ef92aa34cf1cf59dd8a3d084e Scalar-List-Utils-1.62.tar.gz"
|