diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-10-09 09:31:19 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-10-09 11:57:10 +0000 |
commit | cb9f130dfa36248d3ce462281b4a0f8a993be3d2 (patch) | |
tree | d1bcbcc206554733f6f9fcb2cfd89552ef085c08 /testing/perl-shell-guess | |
parent | 6e8330a0b0af9d426a36599f46b478c41670d60f (diff) | |
download | aports-cb9f130dfa36248d3ce462281b4a0f8a993be3d2.tar.bz2 aports-cb9f130dfa36248d3ce462281b4a0f8a993be3d2.tar.xz |
testing/perl-shell-guess: new aport
Diffstat (limited to 'testing/perl-shell-guess')
-rw-r--r-- | testing/perl-shell-guess/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
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" |