diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2017-01-09 22:41:48 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-02-08 07:13:02 +0000 |
commit | 21b4a066cea1ba49a9fc63a7afa77359b61da0de (patch) | |
tree | af2c88c5d1d83646d1edbb402399879d33d2f8f2 /testing/perl-string-random/APKBUILD | |
parent | 77640485753389645d259fad622a9606c48ee046 (diff) | |
download | aports-21b4a066cea1ba49a9fc63a7afa77359b61da0de.tar.bz2 aports-21b4a066cea1ba49a9fc63a7afa77359b61da0de.tar.xz |
testing/perl-string-random: new aport
Perl extension to generate random strings
http://search.cpan.org/~shlomif/String-Random-0.29/
Diffstat (limited to 'testing/perl-string-random/APKBUILD')
-rw-r--r-- | testing/perl-string-random/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/perl-string-random/APKBUILD b/testing/perl-string-random/APKBUILD new file mode 100644 index 0000000000..81094e793e --- /dev/null +++ b/testing/perl-string-random/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=perl-string-random +_realname=String-Random +pkgver=0.29 +pkgrel=0 +pkgdesc="Perl extension to generate random strings" +url="http://search.cpan.org/~shlomif/String-Random-0.29/" +arch="noarch" +license="PerlArtistic" +depends="perl" +makedepends="perl-dev perl-module-build" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_realname-$pkgver.tar.gz" +builddir="$srcdir"/$_realname-$pkgver + +build() { + cd "$builddir" + perl Build.PL installdirs=vendor || return 1 + ./Build || return 1 +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="2fedadd106e6f9fd3ecb18a264816b51 String-Random-0.29.tar.gz" +sha256sums="1da4a65e66ab1db23fedca018355b597cf69c94dd73dec657212820055515a5c String-Random-0.29.tar.gz" +sha512sums="0a939c874962d49d167ce91fe943fdb8dc1e7d506c086750600af9d5f8c40b2e679358f73554e51673a7663dfcf5439ef101096fca8c771e3de654a91c802525 String-Random-0.29.tar.gz" |