user/*: 3.20 clean-up #480

Merged
ayakael merged 9 commits from user/320-cleanup into edge 2024-06-02 22:57:45 +00:00
Showing only changes of commit 106ef2e7c0 - Show all commits

View file

@ -1,44 +0,0 @@
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
_cpaname=Math-Random-Secure
_cpanauthor=FREW
pkgname=perl-math-random-secure
pkgver=0.080001
pkgrel=1
pkgdesc="Perl Math::Random::Secure CPAN module - cryptographically-secure, cross-platform replacement for rand()"
arch="noarch"
url="http://search.cpan.org/dist/$_cpaname/"
license="GPL"
options="!check" # Failure
makedepends="
perl-moo
perl-moose
perl-test-sharedfork
perl-test-warn
"
depends="
perl-crypt-random-source
perl-math-random-isaac
"
source="http://search.cpan.org/CPAN/authors/id/${_cpanauthor::1}/${_cpanauthor::2}/$_cpanauthor/$_cpaname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir"/$_cpaname-$pkgver
build() {
perl Makefile.PL
make
}
check() {
make test
}
package() {
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
# provided by perl-crypt-random-source
rm "$pkgdir"/usr/lib/*/core_perl/perllocal.pod
}
sha512sums="
2092fc01e224ebb438f927f72e835095efdb8790d8f4ef845fc7c4af3e20a05848e7632b0e752221bbe76cebbfa8186638043457ff4f80ff5727a42baec317ce Math-Random-Secure-0.080001.tar.gz
"