summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules/perl-text-iconv/PKGBUILD
blob: 1e35fce7178b512316e4eb39fd14e179f556c8ec (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
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-text-iconv
_realname=Text-Iconv
pkgver=1.7
pkgrel=2
pkgdesc="Interface to iconv codeset conversion"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/${_realname}/"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/M/MP/MPIOTR/${_realname}-${pkgver}.tar.gz) 
md5sums=('81b26e069eaebb084e91ea3c009b67ae')

build() {
  cd  ${startdir}/src/${_realname}-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor || return 1
  make  || return 1
  make DESTDIR=${startdir}/pkg install || return 1
  find ${startdir}/pkg -name '.packlist' -delete
  find ${startdir}/pkg -name '*.pod' -delete
}