aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-string-random/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-string-random/APKBUILD')
-rw-r--r--testing/perl-string-random/APKBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/testing/perl-string-random/APKBUILD b/testing/perl-string-random/APKBUILD
index 417f4bc75b..67d99fa5b8 100644
--- a/testing/perl-string-random/APKBUILD
+++ b/testing/perl-string-random/APKBUILD
@@ -2,33 +2,30 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=perl-string-random
_realname=String-Random
-pkgver=0.29
-pkgrel=1
+pkgver=0.30
+pkgrel=0
pkgdesc="Perl extension to generate random strings"
-url="http://search.cpan.org/~shlomif/String-Random-0.29/"
+url="https://metacpan.org/release/String-Random"
arch="noarch"
-license="PerlArtistic"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
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"
+source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/String-Random-$pkgver.tar.gz"
builddir="$srcdir"/$_realname-$pkgver
build() {
- cd "$builddir"
perl Build.PL installdirs=vendor
./Build
}
check() {
- cd "$builddir"
./Build test
}
package() {
- cd "$builddir"
./Build install destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="0a939c874962d49d167ce91fe943fdb8dc1e7d506c086750600af9d5f8c40b2e679358f73554e51673a7663dfcf5439ef101096fca8c771e3de654a91c802525 String-Random-0.29.tar.gz"
+sha512sums="1c520d124f2937c86970aa29c4189ba420fb936509bf067de2bbf7fac232b94ef7d7307f3c96b3eea3ecd2a11e8da92fd0d700288c431d87c3869127a1e17b7e String-Random-0.30.tar.gz"