summaryrefslogtreecommitdiff
path: root/community/perl-crypt-des/PKGBUILD
blob: d731b89ec9b158251443a0fa2942000c9523acdc (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 112612 2014-06-04 13:51:13Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
#Contributor: Pete Morris <pete dot morris at gmail dot com>
pkgname=perl-crypt-des
pkgver=2.07
pkgrel=2
pkgdesc="Perl DES encryption module"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~dparis/Crypt-DES"
license=("GPL" "PerlArtistic")
depends=('glibc')
source=("http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-$pkgver.tar.gz")
md5sums=('e845d24cf383ca4a30a3380a2735feac')

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

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