archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / perl-crypt-des / trunk / PKGBUILD
blobfae7b67307097d8eaa4b231b9b332e967b792966
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 #Contributor: Pete Morris <pete dot morris at gmail dot com>
3 pkgname=perl-crypt-des
4 pkgver=2.07
5 pkgrel=13
6 pkgdesc="Perl DES encryption module"
7 arch=('x86_64')
8 url="https://search.cpan.org/~dparis/Crypt-DES"
9 license=("GPL" "PerlArtistic")
10 depends=('glibc')
11 source=("https://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-$pkgver.tar.gz")
12 sha256sums=('2db1ebb5837b4cb20051c0ee5b733b4453e3137df0a92306034c867621edd7e7')
14 build() {
15   cd "$srcdir"/Crypt-DES-$pkgver
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
17   make
20 package() {
21   cd "$srcdir"/Crypt-DES-$pkgver
22   make pure_install doc_install DESTDIR="$pkgdir"
23   find "$pkgdir" -name '.packlist' -delete
24   find "$pkgdir" -name '*.pod' -delete