From b59ec068291ce0592b91b62684f68ce2ae31961c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 26 Jun 2018 04:41:40 -0500 Subject: {user => system}/perl-{uri,test-needs} for lwp --- system/perl-test-needs/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 system/perl-test-needs/APKBUILD (limited to 'system/perl-test-needs') diff --git a/system/perl-test-needs/APKBUILD b/system/perl-test-needs/APKBUILD new file mode 100644 index 000000000..c40abbe62 --- /dev/null +++ b/system/perl-test-needs/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=perl-test-needs +pkgver=0.002005 +pkgrel=0 +pkgdesc="Perl module for skipping tests when modules aren't found" +url="https://metacpan.org/pod/Test::Needs" +arch="noarch" +license="Artistic-2.0" +depends="perl" +makedepends="$depends" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Test-Needs-$pkgver.tar.gz" +builddir="$srcdir/Test-Needs-$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="b3023067d1f8726b0ae2162d0b3722193a3b56d12d5c207cf9558f1552ae8ab554773b843d00f1c481857c259fa869b8fdaf5a4838ab0768f38726ddec4130c6 Test-Needs-0.002005.tar.gz" -- cgit v1.2.3-70-g09d2