blob: acd6932e21d06537c496544aebacc66a5cc10c87 (
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 125288 2011-05-25 19:22:57Z foutrelis $
# Maintainer:
# Contributor: Francois Charette <firmicus@gmx.net>
pkgname=perl-text-iconv
_realname=Text-Iconv
pkgver=1.7
pkgrel=6
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 ${srcdir}/${_realname}-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
make test
}
package() {
cd ${srcdir}/${_realname}-${pkgver}
make DESTDIR=${pkgdir} install
}
|