summaryrefslogtreecommitdiff
path: root/staging/perl-text-iconv/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-26 22:47:02 +0000
committerroot <root@rshg047.dnsready.net>2011-05-26 22:47:02 +0000
commit956ae4eb53422c92f78d86d5511f25fbf6fa6497 (patch)
treecaf6b75559c4c4d94ad9f94c1909f410c90e2ad0 /staging/perl-text-iconv/PKGBUILD
parent6e35be4b44d90f92ddceb8b067cbbf03fc652a35 (diff)
Thu May 26 22:47:02 UTC 2011
Diffstat (limited to 'staging/perl-text-iconv/PKGBUILD')
-rw-r--r--staging/perl-text-iconv/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/staging/perl-text-iconv/PKGBUILD b/staging/perl-text-iconv/PKGBUILD
new file mode 100644
index 000000000..acd6932e2
--- /dev/null
+++ b/staging/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
+}