backports/perl-math-random-isaac-xs: bump pkgrel
This commit is contained in:
parent
fe16501d69
commit
94a0437724
1 changed files with 21 additions and 29 deletions
|
@ -1,47 +1,39 @@
|
||||||
# Automatically generated by apkbuild-cpan, template 2
|
# Automatically generated by apkbuild-cpan, template 4
|
||||||
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
||||||
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||||
|
maintainer="Celeste <cielesti@protonmail.com>"
|
||||||
pkgname=perl-math-random-isaac-xs
|
pkgname=perl-math-random-isaac-xs
|
||||||
_pkgreal=Math-Random-ISAAC-XS
|
|
||||||
pkgver=1.004
|
pkgver=1.004
|
||||||
pkgrel=7
|
pkgrel=8
|
||||||
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||||
|
_pkgreal=Math-Random-ISAAC-XS
|
||||||
pkgdesc="C implementation of the ISAAC PRNG algorithm"
|
pkgdesc="C implementation of the ISAAC PRNG algorithm"
|
||||||
url="https://metacpan.org/release/Math-Random-ISAAC-XS/"
|
url="https://metacpan.org/release/Math-Random-ISAAC-XS/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="unrestricted"
|
license="Public-Domain"
|
||||||
cpandepends=""
|
depends="perl"
|
||||||
cpanmakedepends="perl-test-nowarnings"
|
makedepends="perl-dev perl-module-build"
|
||||||
cpancheckdepends=""
|
checkdepends="perl-test-nowarnings"
|
||||||
depends="$cpandepends"
|
|
||||||
makedepends="perl-dev perl-module-build $cpanmakedepends"
|
|
||||||
checkdepends="$cpancheckdepends"
|
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="https://cpan.metacpan.org/authors/id/J/JA/JAWNSY/$_pkgreal-$pkgver.tar.gz"
|
source="https://cpan.metacpan.org/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-XS-$pkgver.tar.gz"
|
||||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
prepare() {
|
|
||||||
default_prepare || return 1
|
|
||||||
|
|
||||||
cd "$builddir"
|
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
||||||
perl Build.PL installdirs=vendor || return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
|
||||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||||
|
perl Build.PL \
|
||||||
|
--installdirs=vendor \
|
||||||
|
--create_packlist=0
|
||||||
./Build
|
./Build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$builddir"
|
|
||||||
./Build install destdir="$pkgdir" || return 1
|
|
||||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "$builddir"
|
|
||||||
./Build test
|
./Build test
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="40c46b5f247f585a407ef9f36b5874d9cf03ec05963a9d92d988ebd63daf1e37b1b51308845d4596f47b5ad7203953bcb7fbb421c905b526dbe99b246ccb4d87 Math-Random-ISAAC-XS-1.004.tar.gz"
|
package() {
|
||||||
|
./Build install --destdir="$pkgdir"
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
40c46b5f247f585a407ef9f36b5874d9cf03ec05963a9d92d988ebd63daf1e37b1b51308845d4596f47b5ad7203953bcb7fbb421c905b526dbe99b246ccb4d87 Math-Random-ISAAC-XS-1.004.tar.gz
|
||||||
|
"
|
||||||
|
|
Loading…
Reference in a new issue