summaryrefslogtreecommitdiff
path: root/testing/icu/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/icu/PKGBUILD')
-rw-r--r--testing/icu/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/icu/PKGBUILD b/testing/icu/PKGBUILD
new file mode 100644
index 000000000..85d52705e
--- /dev/null
+++ b/testing/icu/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 155926 2012-04-09 13:40:35Z andyrtr $
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Contributor: Art Gramlich <art@gramlich-net.com>
+
+pkgname=icu
+pkgver=49.1.1
+pkgrel=1
+pkgdesc="International Components for Unicode library"
+arch=(i686 x86_64)
+url="http://www.icu-project.org/"
+license=('custom:"icu"')
+depends=('gcc-libs' 'sh')
+source=(#http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver/./_}-src.tgz
+ http://download.icu-project.org/files/${pkgname}4c/${pkgver}/${pkgname}4c-${pkgver//./_}-src.tgz
+ icu.8198.revert.icu5431.patch)
+md5sums=('7c53f83e0327343f4060c0eb83842daf'
+ 'ebd5470fc969c75e52baf4af94a9ee82')
+
+build() {
+ cd ${srcdir}/icu/source
+ # fix Malayalam encoding https://bugzilla.redhat.com/show_bug.cgi?id=654200
+ patch -Rp3 -i ${srcdir}/icu.8198.revert.icu5431.patch
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/icu/source
+ make -j1 DESTDIR=${pkgdir} install
+
+ # Install license
+ install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
+}