archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-crypt-random-seed / trunk / PKGBUILD
blobebdd9b5d774bad94433a40d727fda57542112681
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-crypt-random-seed
4 pkgver=0.03
5 pkgrel=7
6 pkgdesc='Provide strong randomness for seeding'
7 arch=(any)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=('perl>=5.6.2' perl-crypt-random-tesha2)
11 url=https://metacpan.org/release/Crypt-Random-Seed
12 source=("https://cpan.metacpan.org/authors/id/D/DA/DANAJ/Crypt-Random-Seed-$pkgver.tar.gz")
13 md5sums=(9bc5a69a8f1964065da7823e19b98da2)
14 sha512sums=(5ee6ea67c325aa9693c96ef650e3888a599d3d7e25316f869808dc6e06b9dd86f1c200c9097939f74511e2ed59e48df1b28cc96e5f7988076d9f7f5d840a894e)
15 _ddir="Crypt-Random-Seed-$pkgver"
17 build()
19   cd "$srcdir/$_ddir"
20   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
21   unset PERL5LIB PERL_MM_OPT
22   /usr/bin/perl Makefile.PL
23   make
26 check()
28   cd "$srcdir/$_ddir"
29   export PERL_MM_USE_DEFAULT=1
30   unset PERL5LIB
31   make test
34 package()
36   cd "$srcdir/$_ddir"
37   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
40 # Local Variables:
41 # mode: shell-script
42 # sh-basic-offset: 2
43 # End:
44 # vim:set ts=2 sw=2 et: