summaryrefslogtreecommitdiff
path: root/testing/perl-text-iconv/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
committerroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
commite7b9c9697e6a50c3b9e78941fa95ba11c716d238 (patch)
tree4df601d78b5a2009ebeea5f01afe1f6e2beb8ca4 /testing/perl-text-iconv/PKGBUILD
parent311d0420d77867bdb1066d38743e68e596a17ce5 (diff)
Wed Jun 1 22:46:45 UTC 2011
Diffstat (limited to 'testing/perl-text-iconv/PKGBUILD')
-rw-r--r--testing/perl-text-iconv/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/perl-text-iconv/PKGBUILD b/testing/perl-text-iconv/PKGBUILD
new file mode 100644
index 000000000..acd6932e2
--- /dev/null
+++ b/testing/perl-text-iconv/PKGBUILD
@@ -0,0 +1,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
+}