diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-22 22:06:42 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-06-22 22:07:20 +0000 |
commit | bb850d53166f26d3368c7704e0ab3b6e8a839b17 (patch) | |
tree | 5a1de9ea398cf6d0e37262d5e034b40fb7d9ff2d /testing | |
parent | d73c4d618e6eae6094878a88113a2f4ededf831e (diff) | |
download | aports-bb850d53166f26d3368c7704e0ab3b6e8a839b17.tar.bz2 aports-bb850d53166f26d3368c7704e0ab3b6e8a839b17.tar.xz |
testing/perl-clone-choose: new aport
Required to test perl-hash-merge package
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-clone-choose/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/perl-clone-choose/APKBUILD b/testing/perl-clone-choose/APKBUILD new file mode 100644 index 0000000000..5035119619 --- /dev/null +++ b/testing/perl-clone-choose/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com> +# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com> +pkgname=perl-clone-choose +_pkgreal=Clone-Choose +pkgver=0.010 +pkgrel=0 +pkgdesc="Choose appropriate clone utility" +url="http://search.cpan.org/dist/Clone-Choose/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +cpancheckdepends="perl-test-without-module" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +checkdepends="$cpancheckdepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/H/HE/HERMES/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + default_prepare + + cd "$builddir" + export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$builddir" + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +check() { + cd "$builddir" + make test +} + +sha512sums="5dbcd1b031ddbdaff81c46c5a48eb51b31bfe451e0777dc88a107d2b104e8708f08a5717a0f82f4d03efb8610e2b42fcb2dc1269e3262ece16b9a503d606face Clone-Choose-0.010.tar.gz" |