summaryrefslogtreecommitdiffstats
path: root/main/perl-list-utilsby/APKBUILD
blob: 87eb7ebb0485ac3e4d4cc17862dece4e5c727cb7 (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.09
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"
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="ed80e57fb37bf929c641b8a43470e488  List-UtilsBy-0.09.tar.gz"
sha256sums="41e52a159af343af5b529ba17fb04d5ea861dd57a8615e3f3806a284d07f9af5  List-UtilsBy-0.09.tar.gz"
sha512sums="faa86f0002e96f3d0ba093134bb084d8d43b297bf5947ccf79ef6916304e2d9005ba1e87437d053d7ffc170f01c8f5bd739c80bbff2b8bb1127840024d4c2992  List-UtilsBy-0.09.tar.gz"