summaryrefslogtreecommitdiff
path: root/community/perl-net-libidn/PKGBUILD
blob: d3669234d5fb9dc24293f7ae4a85b6fe33c0459c (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
25
26
27
28
29
30
31
# $Id: PKGBUILD 91689 2013-05-26 09:25:49Z bluewind $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-net-libidn
pkgver=0.12
pkgrel=7
pkgdesc="Perl/CPAN Module Net::LibIDN"
arch=("i686" "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
}