aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-list-utilsby/APKBUILD
blob: cb5251687a3bcd3d35a041b7474f01194256ee09 (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-list-utilsby
_pkgreal=List-UtilsBy
pkgver=0.10
pkgrel=0
pkgdesc="higher-order list utility functions"
url="http://search.cpan.org/dist/List-UtilsBy/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
	./Build && ./Build test
}

package() {
	cd "$_builddir"
	./Build install destdir="$pkgdir" || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="2b4e2ffdfa99ab3eba8e221545c67522  List-UtilsBy-0.10.tar.gz"
sha256sums="bed74094c625aa34a5ae94a7e1fe1856f08e1bd26b8ba152bfe7a51d3277192e  List-UtilsBy-0.10.tar.gz"
sha512sums="3e73ca8a99da111ff8869fce9561f52163bd4173589f0ff5c17913afea080279765a1f306af50b11040e26eea0f8ae9d993a93b0f0908ed15fa301e421dc0384  List-UtilsBy-0.10.tar.gz"