aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-scalar-list-utils
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-11-01 10:04:25 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-11-01 10:04:29 +0100
commitaa24b0156c9f6fc81294de5ce11a71149719989d (patch)
treef0587743e542d71197e867740068e240400191ec /main/perl-scalar-list-utils
parente2beeea87068244d208a1bda11f50e21f212052e (diff)
downloadaports-aa24b0156c9f6fc81294de5ce11a71149719989d.tar.bz2
aports-aa24b0156c9f6fc81294de5ce11a71149719989d.tar.xz
community/perl-scalar-list-utils: move to main due to perl-list-allutils
Diffstat (limited to 'main/perl-scalar-list-utils')
-rw-r--r--main/perl-scalar-list-utils/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/perl-scalar-list-utils/APKBUILD b/main/perl-scalar-list-utils/APKBUILD
new file mode 100644
index 0000000000..8623b3f868
--- /dev/null
+++ b/main/perl-scalar-list-utils/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-scalar-list-utils
+_pkgreal=Scalar-List-Utils
+pkgver=1.46
+pkgrel=0
+pkgdesc="Common Scalar and List utility subroutines"
+url="http://search.cpan.org/dist/Scalar-List-Utils/"
+arch="all"
+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() {
+ default_prepare || return 1
+
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make && make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="91b581cec3dd3de016bca7bbb106063b Scalar-List-Utils-1.46.tar.gz"
+sha256sums="30662b1261364adb317e9a5bd686273d3dd731e3fda1b8e894802aa52e0052e7 Scalar-List-Utils-1.46.tar.gz"
+sha512sums="355e83d4127b372057143b9498863b075155e7bae8abaa9f5f3f9fbd56cd37b9c6dc58cd20249f22c8bff926d28a3be1e0b03760cc7c89ce358cb135a6c3369f Scalar-List-Utils-1.46.tar.gz"