summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c670d83c4f0575beb98100ccd97c32168ab7ad14 (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
pkgname=perl-crypt-des_ede3
pkgver=0.01
pkgrel=1
pkgdesc="Perl module for triple-DES EDE encryption/decryption"
arch=("x86_64" "i686")
url="http://search.cpan.org/~btrott/Crypt-DES_EDE3"
license=("GPL" "PerlArtistic")
depends=('perl-crypt-des')
source=("http://www.cpan.org/authors/id/B/BT/BTROTT/Crypt-DES_EDE3-$pkgver.tar.gz")
md5sums=('fde1995efa0735407a5f7c4a4c8147bc')

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


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