From 3bb53d7e35c835d6a1bed85df2632ca8d5084cf6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 31 Oct 2014 10:19:53 +0000 Subject: testing/perl-list-allutils: new aport Combines List::Util and List::MoreUtils in one bite-sized package http://search.cpan.org/dist/List-AllUtils/ --- testing/perl-list-allutils/APKBUILD | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 testing/perl-list-allutils/APKBUILD (limited to 'testing/perl-list-allutils/APKBUILD') diff --git a/testing/perl-list-allutils/APKBUILD b/testing/perl-list-allutils/APKBUILD new file mode 100644 index 000000000..6f85df777 --- /dev/null +++ b/testing/perl-list-allutils/APKBUILD @@ -0,0 +1,40 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Maintainer: Natanael Copa +pkgname=perl-list-allutils +_pkgreal=List-AllUtils +pkgver=0.09 +pkgrel=0 +pkgdesc="Combines List::Util and List::MoreUtils in one bite-sized package" +url="http://search.cpan.org/dist/List-AllUtils/" +arch="noarch" +license="Artistic-2" +cpandepends="perl-list-moreutils" +cpanmakedepends=" perl-test-warnings " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + 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="3e2dfeeef80c4e1952443c6b7d48583c List-AllUtils-0.09.tar.gz" +sha256sums="4cfe6359cc6c9f4ba0d178e223f4b468d3cf7768d645334962f05de069bdaee2 List-AllUtils-0.09.tar.gz" +sha512sums="a611536880abfeb3aadfab629a98115905f447ddb74f0e9cce9d3534366978e43a8bf566a742d352e5ac263d8bd4c32c96dd4f308fd36ebd7003eb0001f96727 List-AllUtils-0.09.tar.gz" -- cgit v1.2.3