summaryrefslogtreecommitdiff
path: root/community/perl-crypt-des/PKGBUILD
blob: 0b6cbb4984af04f06e4a8d8f0e97e461ff9b9ea7 (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 94938 2013-08-01 11:26:03Z spupykin $
# 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=1
pkgdesc="Perl DES encryption module"
arch=('i686' 'x86_64' 'mips64el')
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
}