archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-crypt-random-tesha2 / trunk / PKGBUILD
blob01d29c1d445e2b49e9dbd646c0af7320a3ca9fd5
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-crypt-random-tesha2
4 pkgver=0.01
5 pkgrel=8
6 pkgdesc='Random numbers using timer/schedule entropy, aka userspace voodoo entropy'
7 arch=(any)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=('perl>=5.6.2')
11 url=https://metacpan.org/release/Crypt-Random-TESHA2
12 source=("https://cpan.metacpan.org/authors/id/D/DA/DANAJ/Crypt-Random-TESHA2-$pkgver.tar.gz")
13 md5sums=(04bdca905744ba390c5f54537e3ec931)
14 sha512sums=(afc95d73481cb6aa06b939ef51b5ddc14e7aaee296d08779f79313000188d7c2e5e88ddf2048dd45b9dd96420cdd7f65f0a98c8bcb4c5be77709043d558ec4ba)
15 _ddir="Crypt-Random-TESHA2-$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: