Date: Wednesday, August 1, 2018 @ 12:11:55 Author: foutrelis Revision: 366689
archrelease: copy trunk to community-staging-x86_64 Added: perl-net-libidn/repos/community-staging-x86_64/ perl-net-libidn/repos/community-staging-x86_64/PKGBUILD (from rev 366688, perl-net-libidn/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: perl-net-libidn/repos/community-staging-x86_64/PKGBUILD (from rev 366688, perl-net-libidn/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-08-01 12:11:55 UTC (rev 366689) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=perl-net-libidn +pkgver=0.12 +pkgrel=14 +pkgdesc="Perl/CPAN Module Net::LibIDN" +arch=("x86_64") +url="http://search.cpan.org/dist/Net-LibIDN/" +license=("GPL" "PerlArtistic") +depends=(perl libidn) +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-${pkgver}.tar.gz") +md5sums=('c3e4de2065009d67bcb1df0afb473e12') + +build() { + cd Net-LibIDN-${pkgver} + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd Net-LibIDN-${pkgver} + + make install DESTDIR="$pkgdir" + + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +}