From 25e62bb579b3e9d6ea89df3809d2b669f2789390 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 24 Nov 2014 21:10:05 +0000
Subject: icu: update to 54.1

---
 abs/extra/icu/PKGBUILD | 34 ++++++++++++++++++++++------------
 1 file changed, 22 insertions(+), 12 deletions(-)

diff --git a/abs/extra/icu/PKGBUILD b/abs/extra/icu/PKGBUILD
index bf029ee..eafa339 100644
--- a/abs/extra/icu/PKGBUILD
+++ b/abs/extra/icu/PKGBUILD
@@ -1,36 +1,46 @@
-# $Id: PKGBUILD 160960 2012-06-07 13:35:03Z andyrtr $
+# $Id$
 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
 # Contributor: Art Gramlich <art@gramlich-net.com>
 
 pkgname=icu
-pkgver=49.1.2
-pkgrel=2
+pkgver=54.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')
+license=('custom:icu')
+depends=('gcc-libs>=4.7.1-5' 'sh')
+#makedepends=('clang')
 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=('e844caed8f2ca24c088505b0d6271bc0'
+         'ebd5470fc969c75e52baf4af94a9ee82')
 
-build() {
-  cd ${srcdir}/icu/source
+prepare() {
+  cd icu/source
   # fix Malayalam encoding https://bugzilla.redhat.com/show_bug.cgi?id=654200
   patch -Rp3 -i ${srcdir}/icu.8198.revert.icu5431.patch
+}
+
+build() {
+  cd icu/source
   ./configure --prefix=/usr \
 	--sysconfdir=/etc \
-         --sbindir=/usr/bin \
-	--mandir=/usr/share/man
+	--mandir=/usr/share/man \
+	--sbindir=/usr/bin
   make
 }
 
+check() {
+  cd icu/source
+  make -k check # passes all
+}
+
 package() {
-  cd ${srcdir}/icu/source
+  cd icu/source
   make -j1 DESTDIR=${pkgdir} install
 
   # Install license
   install -Dm644 ${srcdir}/icu/license.html ${pkgdir}/usr/share/licenses/icu/license.html
 }
-md5sums=('bbc609fe5237202d7abf016141012a45'
-         'ebd5470fc969c75e52baf4af94a9ee82')
-- 
cgit v0.12

