diff options
Diffstat (limited to 'extra/perl-text-iconv')
-rw-r--r-- | extra/perl-text-iconv/PKGBUILD | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/perl-text-iconv/PKGBUILD b/extra/perl-text-iconv/PKGBUILD index acd6932e2..cde5d71c0 100644 --- a/extra/perl-text-iconv/PKGBUILD +++ b/extra/perl-text-iconv/PKGBUILD @@ -1,28 +1,32 @@ -# $Id: PKGBUILD 125288 2011-05-25 19:22:57Z foutrelis $ +# $Id: PKGBUILD 160557 2012-06-02 10:28:23Z bluewind $ # Maintainer: # Contributor: Francois Charette <firmicus@gmx.net> pkgname=perl-text-iconv _realname=Text-Iconv pkgver=1.7 -pkgrel=6 +pkgrel=7 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') +depends=('perl') options=('!emptydirs') source=(http://www.cpan.org/authors/id/M/MP/MPIOTR/${_realname}-${pkgver}.tar.gz) md5sums=('81b26e069eaebb084e91ea3c009b67ae') build() { - cd ${srcdir}/${_realname}-${pkgver} + cd "${srcdir}/${_realname}-${pkgver}" perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" make test } package() { - cd ${srcdir}/${_realname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "${srcdir}/${_realname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |