summaryrefslogtreecommitdiff
path: root/community/perl-crypt-blowfish/PKGBUILD
blob: c7788978f2c0ffb1bd3f378f281d14c100371fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 95154 2013-08-06 11:51:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-crypt-blowfish
pkgver=2.14
pkgrel=1
pkgdesc="Perl/CPAN Module Crypt::Blowfish : XSbased implementation of Blowfish"
arch=("i686" "x86_64" 'mips64el')
url="http://search.cpan.org/dist/Crypt-Blowfish"
license=("GPL" "PerlArtistic")
source=("http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-$pkgver.tar.gz")
md5sums=('792b43cd4e49d2c2cf4a9f6990ff7d1b')

build() {
  cd $srcdir/Crypt-Blowfish-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
  make
}

package() {
  cd $srcdir/Crypt-Blowfish-$pkgver
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}