summaryrefslogtreecommitdiffstats
path: root/main/icu/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/icu/APKBUILD')
-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"