summaryrefslogtreecommitdiffstats
path: root/main/icu
diff options
context:
space:
mode:
Diffstat (limited to 'main/icu')
-rw-r--r--main/icu/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD
index c2150b3ec..f37e76646 100644
--- a/main/icu/APKBUILD
+++ b/main/icu/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=icu
-pkgver=4.2.1
+pkgver=4.4
_ver=4_2_1
pkgrel=0
pkgdesc="International Components for Unicode library"
@@ -11,14 +11,19 @@ depends=""
makedepends="uclibc++-dev"
source="http://download.icu-project.org/files/icu4c/${pkgver}/${pkgname}4c-$_ver-src.tgz"
-build ()
-{
- cd "$srcdir"/icu/source
+_builddir="$srcdir"/icu/source
+
+build() {
+ cd "$_builddir"
export CXX=g++-uc
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
chmod +x "$pkgdir"/usr/bin/icu-config
install -Dm644 "$srcdir"/icu/license.html \