# Generated by Xyne::Arch::CPAN 0.07 pkgname=perl-crypt-openssl-dsa pkgver=0.130.0 pkgrel=1 pkgdesc="Crypt::OpenSSL::DSA Digital Signature Algorithm using OpenSSL" arch=('i686' 'x86_64') url="http://search.cpan.org/dist/Crypt-OpenSSL-DSA/" license=('unknown') source=('http://search.cpan.org/CPAN/authors/id/T/TJ/TJMATHER/Crypt-OpenSSL-DSA-0.13.tar.gz') md5sums=('3ae371799108731623a8d9b3adf7f767') sha256sums=('f786a76441106a6ce3de4d153bddd3fc0a8a90657b2cb6778aa362e4e7d66cef') depends=() options=(!emptydirs) build() { _dir=$(find $srcdir -maxdepth 2 -type f -name 'Makefile.PL') if [ ! -z "$_dir" ]; then cd $(dirname "$_dir") PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR="${pkgdir}" || return 1 else _dir=$(find $srcdir -maxdepth 2 -type f -name 'Build.PL') if [ ! -z "$_dir" ]; then cd $(dirname "$_dir") PERL_MM_USE_DEFAULT=1 perl Build.PL INSTALLDIRS=vendor || return 1 ./Build || return 1 ./Build install destdir=${pkgdir} || return 1 else echo "error: failed to detect build method for $pkgname" echo "you may be able to fix this by editing the PKGBUILD" return 1 fi fi # remove perllocal.pod and .packlist find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete } # vim:set ts=2 sw=2 et: