49 lines
1.2 KiB
Text
49 lines
1.2 KiB
Text
|
# 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
|
||
|
pkgrel=0
|
||
|
pkgdesc="Perl Crypt::Random::Source CPAN module - load and instantiate sources of random data"
|
||
|
arch="noarch"
|
||
|
url="http://search.cpan.org/dist/${cpaname}/"
|
||
|
license="GPL"
|
||
|
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() {
|
||
|
make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
|
||
|
rm "$pkgdir"/usr/lib/perl5/core_perl/perllocal.pod
|
||
|
}
|
||
|
sha512sums="
|
||
|
25760ccfae42f44bd132915e3796042b43c1bc43195a97fc1236579c90b96957b3d86d2e68adde9d7dd486336f132982867413af251c66e527584e7309e0c729 Crypt-Random-Source-0.14.tar.gz
|
||
|
"
|