diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2015-12-14 15:20:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-12-16 13:45:36 +0000 |
commit | 1e0c0d01ac6a6e88579533cb68c050c456730e6f (patch) | |
tree | a3028decd8d424a29b67a60aef90324dbac2904d /testing/perl-getopt-argvfile | |
parent | f96d2c44463d94a28c5126e814f3a18fe4362e60 (diff) | |
download | aports-1e0c0d01ac6a6e88579533cb68c050c456730e6f.tar.bz2 aports-1e0c0d01ac6a6e88579533cb68c050c456730e6f.tar.xz |
testing/perl-getopt-argvfile: new aport
Diffstat (limited to 'testing/perl-getopt-argvfile')
-rw-r--r-- | testing/perl-getopt-argvfile/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/perl-getopt-argvfile/APKBUILD b/testing/perl-getopt-argvfile/APKBUILD new file mode 100644 index 0000000000..95e9c9cb40 --- /dev/null +++ b/testing/perl-getopt-argvfile/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Stuart Cardall <developer@it-offshore.co.uk> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=perl-getopt-argvfile +pkgver=1.11 +_realname=Getopt-ArgvFile-$pkgver +pkgrel=0 +pkgdesc="Interpolates script options from files into @ARGV or another array" +url="http://search.cpan.org/dist/Getopt-ArgvFile/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/J/JS/JSTENZEL/$_realname.tar.gz" + +_builddir="$srcdir"/$_realname + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="42117db2af4a24c062b2da25d4fdf756 Getopt-ArgvFile-1.11.tar.gz" +sha256sums="3709aa513ce6fd71d1a55a02e34d2f090017d5350a9bd447005653c9b0835b22 Getopt-ArgvFile-1.11.tar.gz" +sha512sums="832e9ec6de3dfa4aaac68faedd3561cac570761e0de805e084e8dc7b386579cd0a18278aeb262ea82fddbdf8277b17bbd7593c15d41b1d6d7de4739fc8cc8f11 Getopt-ArgvFile-1.11.tar.gz" |