From 2016f37e2b26264d2fc13bea2c2a8d0dfc0c53ae Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 28 Feb 2018 14:58:45 -0600 Subject: user/perl-test-command: new aport --- user/perl-test-command/APKBUILD | 50 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 user/perl-test-command/APKBUILD diff --git a/user/perl-test-command/APKBUILD b/user/perl-test-command/APKBUILD new file mode 100644 index 000000000..e70865521 --- /dev/null +++ b/user/perl-test-command/APKBUILD @@ -0,0 +1,50 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Francesco Colista +# Contributor: A. Wilcox +# Maintainer: Kiyoshi Aman +pkgname=perl-test-command +_pkgreal=Test-Command +pkgver=0.11 +pkgrel=1 +pkgdesc="Perl module for Test-Command" +url="http://search.cpan.org/dist/Test-Command/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="perl-module-build" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/D/DA/DANBOO/$_pkgreal-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + if [ -e Build.PL ]; then + perl Build.PL installdirs=vendor + else + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + fi +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="9ab83c4695961dbe92cd86efe08f0634 Test-Command-0.11.tar.gz" +sha256sums="28a3fc6fea73a19f563f11bd0f28186756d4c74207be6deacaad26d2081b9533 Test-Command-0.11.tar.gz" +sha512sums="79a8f41132b965ad4f6e8b4d97f8fb6181a1e394bcf8825abda2c8ee12dd5f6ef8d7c69df84d306c3841bb516213742c4a0a43c2f3d6b39ce6e163d6d77f45f8 Test-Command-0.11.tar.gz" -- cgit v1.2.3-70-g09d2