csync-git
[mirrors/ArchLinux-Packages.git] / perl-crypt-openssl-dsa / PKGBUILD
CommitLineData
d86465a8
H
1# Generated by Xyne::Arch::CPAN 0.07
2
3pkgname=perl-crypt-openssl-dsa
4pkgver=0.130.0
5pkgrel=1
206329ec 6pkgdesc="Crypt::OpenSSL::DSA Digital Signature Algorithm using OpenSSL"
d86465a8
H
7arch=('i686' 'x86_64')
8url="http://search.cpan.org/dist/Crypt-OpenSSL-DSA/"
9license=('unknown')
10source=('http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/Crypt-OpenSSL-DSA-0.13.tar.gz')
11md5sums=('3ae371799108731623a8d9b3adf7f767')
12sha256sums=('f786a76441106a6ce3de4d153bddd3fc0a8a90657b2cb6778aa362e4e7d66cef')
13depends=()
14options=(!emptydirs)
15
16build() {
17 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL')
18 if [ ! -z "$_dir" ]; then
19 cd $(dirname "$_dir")
20 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make || return 1
22 make install DESTDIR="${pkgdir}" || return 1
23
24 else
25 _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL')
26 if [ ! -z "$_dir" ]; then
27 cd $(dirname "$_dir")
28 PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1
29 ./Build || return 1
30 ./Build install destdir=${pkgdir} || return 1
31
32 else
33 echo "error: failed to detect build method for $pkgname"
34 echo "you may be able to fix this by editing the PKGBUILD"
35 return 1
36 fi fi
37
38 # remove perllocal.pod and .packlist
39 find ${pkgdir} -name perllocal.pod -delete
40 find ${pkgdir} -name .packlist -delete
41}
42
43# vim:set ts=2 sw=2 et:
44
This page took 0.134448 seconds and 4 git commands to generate.