summaryrefslogtreecommitdiffstats
path: root/main/icu
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-14 08:47:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-14 08:47:29 +0000
commitd5fda8c81d760f7fe4e2e7f5cc705830f5c3122f (patch)
treea7dbfa6bce98fcfdb7c7f432db3280854db10e28 /main/icu
parent903b229f7b5b93e6e86076ce6989ab6dd52ab5ab (diff)
downloadaports-d5fda8c81d760f7fe4e2e7f5cc705830f5c3122f.tar.bz2
aports-d5fda8c81d760f7fe4e2e7f5cc705830f5c3122f.tar.xz
main/icu: upgrade to 4.4.2, second try
Diffstat (limited to 'main/icu')
-rw-r--r--main/icu/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD
index d4739f732..6dbaa8d59 100644
--- a/main/icu/APKBUILD
+++ b/main/icu/APKBUILD
@@ -1,8 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=icu
pkgver=4.4.2
-_ver=4_4_1
-pkgrel=0
+
+# convert x.y.z to x_y_z
+_x=${pkgver%%.*}
+_ver=${pkgver%.*} # _ver=x.y
+_y=${_ver#*.}
+_z=${pkgver##*.}
+_ver=${_x}_${_y}_${_z}
+
+pkgrel=1
pkgdesc="International Components for Unicode library"
url="http://www.icu-project.org/"
license="custom:icu"
@@ -49,5 +56,5 @@ package() {
install -Dm644 "$srcdir"/icu/license.html \
"$pkgdir"/usr/share/licenses/icu/license.html
}
-md5sums="b6bc0a1153540b2088f8b03e0ba625d3 icu4c-4_4_1-src.tgz
+md5sums="314e582264c36b3735466c522899aa07 icu4c-4_4_2-src.tgz
e729eb08687b042e40df572932cbf9ce icu-ccache.patch"