PKGBUILDs/community/perl-crypt-blowfish/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
809 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-crypt-blowfish
pkgver=2.10
pkgrel=3
pkgdesc="Perl/CPAN Module Crypt::Blowfish : XSbased implementation of Blowfish"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Crypt-Blowfish"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-Blowfish-2.10.tar.gz")
md5sums=('15b53308df3b29a62a9f2f718aace19a')
build() {
cd $startdir/src/Crypt-Blowfish-2.10
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}