diff options
author | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
commit | 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch) | |
tree | 438c05155823f16b71f4277fef949610bf6fe826 /community/perl-net-libidn/PKGBUILD | |
parent | 108636e69eaeef67f4e7263c7f26105e25979e89 (diff) |
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-net-libidn/PKGBUILD')
-rw-r--r-- | community/perl-net-libidn/PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/community/perl-net-libidn/PKGBUILD b/community/perl-net-libidn/PKGBUILD index fd0280247..1d2f41001 100644 --- a/community/perl-net-libidn/PKGBUILD +++ b/community/perl-net-libidn/PKGBUILD @@ -1,22 +1,31 @@ -# $Id: PKGBUILD 35697 2010-12-22 01:23:45Z tdziedzic $ +# $Id: PKGBUILD 47590 2011-05-23 20:30:08Z tdziedzic $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-net-libidn pkgver=0.12 -pkgrel=3 +pkgrel=4 pkgdesc="Perl/CPAN Module Net::LibIDN" arch=("i686" "x86_64") url="http://search.cpan.org/dist/Net-LibIDN/" license=("GPL" "PerlArtistic") depends=(perl libidn) -source=("http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-$pkgver.tar.gz") +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${pkgver}.tar.gz") md5sums=('c3e4de2065009d67bcb1df0afb473e12') build() { - cd $srcdir/Net-LibIDN-$pkgver + cd Net-LibIDN-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make - make install DESTDIR=$pkgdir - find $pkgdir -name '.packlist' -delete - find $pkgdir -name '*.pod' -delete +} + +package() { + cd Net-LibIDN-${pkgver} + + make install DESTDIR=${pkgdir} + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete } |