[arch-commits] Commit in icu/trunk (PKGBUILD)

Andreas Radke andyrtr at nymeria.archlinux.org
Sat Oct 12 08:59:01 UTC 2013


    Date: Saturday, October 12, 2013 @ 10:59:00
  Author: andyrtr
Revision: 196361

upgpkg: icu 52.1-1

upstream update 52.1

Modified:
  icu/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-12 08:39:11 UTC (rev 196360)
+++ PKGBUILD	2013-10-12 08:59:00 UTC (rev 196361)
@@ -3,7 +3,7 @@
 # Contributor: Art Gramlich <art at gramlich-net.com>
 
 pkgname=icu
-pkgver=51.2
+pkgver=52.1
 pkgrel=1
 pkgdesc="International Components for Unicode library"
 arch=(i686 x86_64)
@@ -14,15 +14,17 @@
 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=('072e501b87065f3a0ca888f1b5165709'
+md5sums=('9e96ed4c1d99c0d14ac03c140f9f346c'
          '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 \
 	--mandir=/usr/share/man \
@@ -31,12 +33,12 @@
 }
 
 check() {
-  cd "$srcdir/icu/source"
+  cd icu/source
   make -k check # passes all
 }
 
 package() {
-  cd ${srcdir}/icu/source
+  cd icu/source
   make -j1 DESTDIR=${pkgdir} install
 
   # Install license




More information about the arch-commits mailing list