archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-crypt-openssl-guess / trunk / PKGBUILD
blobb5de1c7c8332ab6495d7b3cd6eb794efbce7f5f7
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-crypt-openssl-guess
4 pkgver=0.15
5 pkgrel=2
6 pkgdesc='Guess OpenSSL include path'
7 arch=(any)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=('perl>=5.8.1')
11 makedepends=('perl-extutils-makemaker>=6.64')
12 url=https://metacpan.org/release/Crypt-OpenSSL-Guess
13 source=("https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-$pkgver.tar.gz")
14 md5sums=(e07f470dd25023730cf8536e0cefbabd)
15 sha512sums=(d7527be1f07847fbafc10b30c00c43e7fdcd4db27535b16cac98c5b6507d138c14cebcdb3c4ef07dc3016a93fea95155548cc7d83a0309fbc13b7d3b9607bf5d)
16 _ddir="Crypt-OpenSSL-Guess-$pkgver"
18 build()
20   cd "$srcdir/$_ddir"
21   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
22   unset PERL5LIB PERL_MM_OPT
23   /usr/bin/perl Makefile.PL
24   make
27 check()
29   cd "$srcdir/$_ddir"
30   export PERL_MM_USE_DEFAULT=1
31   unset PERL5LIB
32   make test
35 package()
37   cd "$srcdir/$_ddir"
38   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
41 # Local Variables:
42 # mode: shell-script
43 # sh-basic-offset: 2
44 # End:
45 # vim:set ts=2 sw=2 et: