summaryrefslogtreecommitdiff
path: root/extra/icu/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-19 02:25:52 -0800
committerroot <root@rshg054.dnsready.net>2012-11-19 02:25:52 -0800
commit705d29694fd61c47a57ccec531e73d87a2960021 (patch)
tree55e2f9c5d4ed72e92b4d249f51760cfbd53d3b80 /extra/icu/PKGBUILD
parentab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (diff)
Mon Nov 19 02:22:26 PST 2012
Diffstat (limited to 'extra/icu/PKGBUILD')
-rw-r--r--extra/icu/PKGBUILD21
1 files changed, 16 insertions, 5 deletions
diff --git a/extra/icu/PKGBUILD b/extra/icu/PKGBUILD
index 73bc37d3d..2aededd6b 100644
--- a/extra/icu/PKGBUILD
+++ b/extra/icu/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 163969 2012-07-23 03:03:14Z allan $
+# $Id: PKGBUILD 171516 2012-11-18 10:27:49Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Art Gramlich <art@gramlich-net.com>
pkgname=icu
-pkgver=49.1.2
+pkgver=50.1
pkgrel=2
pkgdesc="International Components for Unicode library"
arch=(i686 x86_64)
@@ -12,20 +12,31 @@ license=('custom:"icu"')
depends=('gcc-libs>=4.7.1-5' '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=('bbc609fe5237202d7abf016141012a45'
- 'ebd5470fc969c75e52baf4af94a9ee82')
+ icu.8198.revert.icu5431.patch changeset_32780.diff)
+md5sums=('cf7bf9e56aa6c2057a8b6f464046483e'
+ 'ebd5470fc969c75e52baf4af94a9ee82'
+ '58f4b655e40dddc8e316600019b491b2')
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
+
+ # fix building clients without c++11 http://bugs.icu-project.org/trac/changeset/32780
+ patch -Np4 -i ${srcdir}/changeset_32780.diff
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make
}
+check() {
+ cd "$srcdir/icu/source"
+ make -k check # passes all
+}
+
package() {
cd ${srcdir}/icu/source
make -j1 DESTDIR=${pkgdir} install