From cc816acb5ee20d06ee82a16e6cf26d3eb051b05c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 2 Oct 2018 04:20:04 +0000 Subject: user/perl-list-someutils: new package --- user/perl-list-someutils/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-list-someutils/APKBUILD diff --git a/user/perl-list-someutils/APKBUILD b/user/perl-list-someutils/APKBUILD new file mode 100644 index 000000000..80a5e64ee --- /dev/null +++ b/user/perl-list-someutils/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox +# Maintainer: Adélie Perl Team +pkgname=perl-list-someutils +pkgver=0.56 +pkgrel=0 +pkgdesc="Provide the stuff missing in Perl's List::Util module" +url="https://metacpan.org/release/List-SomeUtils" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-list-someutils-xs perl-module-implementation" +makedepends="perl-dev" +checkdepends="perl-test-leaktrace" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/List-SomeUtils-$pkgver.tar.gz" +builddir="$srcdir/List-SomeUtils-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="b74c2a97811185d21bfd68fe60606afe8e92c266e98a763d51589021c9b3ae5310275005dc80198b8f9d92118fed569b5251d5ad87643f47af75a478db388503 List-SomeUtils-0.56.tar.gz" -- cgit v1.2.3-70-g09d2