diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 15:25:33 -0300 |
commit | cebf33d7109e0157a80f34d6136e212f0a28d274 (patch) | |
tree | a6464302c970f72581105b50ff0896e1f56def3d /community/perl-crypt-des/PKGBUILD | |
parent | 1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff) | |
parent | 5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/perl-crypt-des/PKGBUILD')
-rw-r--r-- | community/perl-crypt-des/PKGBUILD | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/community/perl-crypt-des/PKGBUILD b/community/perl-crypt-des/PKGBUILD index 1a8097f1c..19b7ed1cb 100644 --- a/community/perl-crypt-des/PKGBUILD +++ b/community/perl-crypt-des/PKGBUILD @@ -1,20 +1,32 @@ -# $Id: PKGBUILD 71759 2012-06-02 10:29:46Z bluewind $ +# $Id: PKGBUILD 91660 2013-05-26 09:24:51Z 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.05 -pkgrel=5 +pkgrel=6 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=('a8a0bea7064e11d2af434f3e468c17bb') +source=("http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-$pkgver.tar.gz" + "perl-5.18.patch") +md5sums=('a8a0bea7064e11d2af434f3e468c17bb' + '836d1a954281257efe00503d98b42dc8') + +prepare() { + cd $srcdir/Crypt-DES-$pkgver + patch -p1 <$srcdir/perl-5.18.patch +} + build() { - cd Crypt-DES-$pkgver + 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 |