blob: 3af8ad9cc4d407ae33eb64d2c5578ca2984d17ba (
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: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-list-moreutils
_pkgreal=List-MoreUtils
_author=REHSACK
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.430
pkgrel=0
pkgdesc="Provide the stuff missing in List::Util"
url="https://metacpan.org/release/List-MoreUtils"
arch="noarch"
license="Apache-2.0"
depends="perl perl-exporter-tiny"
makedepends="perl-dev perl-list-moreutils-xs"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$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="bc9ff033c12251a6f0899a96da0ec8fc314ddb8d6cdf18c37fe1fdcfc38a4c95ed6f8e006bb124e77d07241ae6754f429bc2041f7772b4acfce9378a21283469 List-MoreUtils-0.430.tar.gz"
|