aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-math-random-mt-auto
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-math-random-mt-auto')
-rw-r--r--community/perl-math-random-mt-auto/APKBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/community/perl-math-random-mt-auto/APKBUILD b/community/perl-math-random-mt-auto/APKBUILD
index 79c8c49b42..6ca886abbc 100644
--- a/community/perl-math-random-mt-auto/APKBUILD
+++ b/community/perl-math-random-mt-auto/APKBUILD
@@ -3,37 +3,39 @@
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-math-random-mt-auto
_pkgreal=Math-Random-MT-Auto
-pkgver=6.22
-pkgrel=3
+pkgver=6.23
+pkgrel=0
pkgdesc="Auto-seeded Mersenne Twister PRNGs"
url="http://search.cpan.org/dist/Math-Random-MT-Auto/"
arch="all"
license="unrestricted"
cpandepends="perl-exception-class perl-object-insideout"
-cpanmakedepends=" "
depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
+ cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$_builddir"
- make && make test
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="54e42c86369b6172b8b06a88206a89ce Math-Random-MT-Auto-6.22.tar.gz"
-sha256sums="1f2ae9752ba908c126dc2bd3c27cb286543121997f87c5bce578fb2e7f51f01f Math-Random-MT-Auto-6.22.tar.gz"
-sha512sums="9f15623c5a5ce7b7fde77d3189bce605145460b87b946a9c64928f7a5e506cfedd062539c0d2f9728f270825d4ead51d7b60cd76fb0aece2a2036eea576e87e5 Math-Random-MT-Auto-6.22.tar.gz"
+sha512sums="3cdb0a1fee776f6aa91bb7a623bd5b0f2fafa6505fc83352c4b76bdb637b7eb94675fa87b32a0213a1e3baa90e60ddd6330c990f6581abb4dc3cdc7d6e7f8b80 Math-Random-MT-Auto-6.23.tar.gz"