2023-01-11 13:23:51 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
|
|
|
|
_cpaname="Crypt-Random-Source"
|
|
|
|
_cpanauthor=ETHER
|
|
|
|
pkgname=perl-crypt-random-source
|
|
|
|
pkgver=0.14
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgrel=1
|
2023-01-11 13:23:51 +00:00
|
|
|
pkgdesc="Perl Crypt::Random::Source CPAN module - load and instantiate sources of random data"
|
2023-08-11 19:49:05 +00:00
|
|
|
arch="noarch"
|
2023-03-31 20:26:25 +00:00
|
|
|
url="http://search.cpan.org/dist/$_cpaname/"
|
|
|
|
license="GPL"$
|
2023-01-11 13:23:51 +00:00
|
|
|
makedepends="
|
|
|
|
perl-module-build-tiny
|
|
|
|
"
|
|
|
|
depends="
|
|
|
|
perl-capture-tiny
|
|
|
|
perl-module-find
|
|
|
|
perl-module-runtime
|
|
|
|
perl-moo
|
|
|
|
perl-namespace-clean
|
|
|
|
perl-sub-exporter
|
|
|
|
perl-sub-name
|
|
|
|
perl-test-fatal
|
|
|
|
perl-type-tiny
|
|
|
|
perl-yaml
|
|
|
|
"
|
|
|
|
source="http://www.cpan.org/authors/id/${_cpanauthor::1}/${_cpanauthor::2}/$_cpanauthor/$_cpaname-$pkgver.tar.gz"
|
|
|
|
subpackages="$pkgname-doc"
|
|
|
|
builddir="$srcdir"/$_cpaname-$pkgver
|
|
|
|
|
|
|
|
build() {
|
|
|
|
export PERL_MM_FALLBACK_SILENCE_WARNING=true
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-03-31 20:26:25 +00:00
|
|
|
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
2023-01-11 13:23:51 +00:00
|
|
|
rm "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod
|
|
|
|
}
|
|
|
|
sha512sums="
|
|
|
|
25760ccfae42f44bd132915e3796042b43c1bc43195a97fc1236579c90b96957b3d86d2e68adde9d7dd486336f132982867413af251c66e527584e7309e0c729 Crypt-Random-Source-0.14.tar.gz
|
|
|
|
"
|