summaryrefslogtreecommitdiff
path: root/extra/perl-text-iconv/PKGBUILD
blob: 5ceddd6051fe23a469b773edf765204a47dc450a (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
# $Id: PKGBUILD 100932 2010-11-26 17:44:01Z kevin $
# Maintainer: 
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-text-iconv
_realname=Text-Iconv
pkgver=1.7
pkgrel=5
pkgdesc="Interface to iconv codeset conversion"
arch=('i686' 'x86_64' 'mips64el')
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  ${srcdir}/${_realname}-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor
  make
  make test
}

package() {
  cd  ${srcdir}/${_realname}-${pkgver}
  make DESTDIR=${pkgdir} install
}