diff options
Diffstat (limited to 'backports/perl-string-shellquote/APKBUILD')
-rw-r--r-- | backports/perl-string-shellquote/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/backports/perl-string-shellquote/APKBUILD b/backports/perl-string-shellquote/APKBUILD new file mode 100644 index 0000000000..dc522a601e --- /dev/null +++ b/backports/perl-string-shellquote/APKBUILD @@ -0,0 +1,41 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perl-string-shellquote +_pkgreal=String-ShellQuote +pkgver=1.04 +pkgrel=0 +pkgdesc="unknown" +url="http://search.cpan.org/dist/String-ShellQuote/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends=" " +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + make && make test +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="da6329dc482b21adf5697cfbd2ac5412 String-ShellQuote-1.04.tar.gz" +sha256sums="e606365038ce20d646d255c805effdd32f86475f18d43ca75455b00e4d86dd35 String-ShellQuote-1.04.tar.gz" +sha512sums="f5b472985fb9c15d5c82c03b5c6c90a3a545ada854b90a96cfb7b0f57b8a817707ed91ca0f20344a2b8d200fe365ea737a9b39b64d526310d41ac2466552236d String-ShellQuote-1.04.tar.gz" |