From cb9f130dfa36248d3ce462281b4a0f8a993be3d2 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 9 Oct 2015 09:31:19 +0000 Subject: testing/perl-shell-guess: new aport --- testing/perl-shell-guess/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/perl-shell-guess/APKBUILD (limited to 'testing/perl-shell-guess') diff --git a/testing/perl-shell-guess/APKBUILD b/testing/perl-shell-guess/APKBUILD new file mode 100644 index 0000000000..6c7b3ae187 --- /dev/null +++ b/testing/perl-shell-guess/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: +# Maintainer: +pkgname=perl-shell-guess +_pkgreal=Shell-Guess +pkgver=0.06 +pkgrel=0 +pkgdesc="Make an educated guess about the shell in use" +url="http://search.cpan.org/dist/Shell-Guess/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + perl Build.PL installdirs=vendor || return 1 +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build && ./Build test +} + +package() { + cd "$_builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="767d7628cd7d73f129029a649ef45a67 Shell-Guess-0.06.tar.gz" +sha256sums="4758c98affcade0d8f3882f8c2a9ee671bf1eef72f1025796cff939f7e93be23 Shell-Guess-0.06.tar.gz" +sha512sums="026a114059d9e4edb96f3bf73612564b38f8651e5007341b19c704aa1b109c53b1c88ada0ae1feb8dfa9759c979608f3658d3cfb52f6dbf1b927707e11876f98 Shell-Guess-0.06.tar.gz" -- cgit v1.2.3