aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-list-utilsby
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-list-utilsby')
-rw-r--r--main/perl-list-utilsby/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/perl-list-utilsby/APKBUILD b/main/perl-list-utilsby/APKBUILD
new file mode 100644
index 0000000000..cde433b47d
--- /dev/null
+++ b/main/perl-list-utilsby/APKBUILD
@@ -0,0 +1,37 @@
+# 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.07
+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="2c39a8a2021bdf63ee4a8d7e0b0829a4 List-UtilsBy-0.07.tar.gz"