summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/icu/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/main/icu/APKBUILD b/main/icu/APKBUILD
index d122fdbe9..ae75d3358 100644
--- a/main/icu/APKBUILD
+++ b/main/icu/APKBUILD
@@ -5,12 +5,12 @@ pkgver=49.1.2
# convert x.y.z to x_y_z
_ver=${pkgver//./_}
-pkgrel=0
+pkgrel=1
pkgdesc="International Components for Unicode library"
url="http://www.icu-project.org/"
arch="all"
license="custom:icu"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
depends=
makedepends=
source="http://download.icu-project.org/files/icu4c/${pkgver}/${pkgname}4c-$_ver-src.tgz
@@ -42,7 +42,10 @@ build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
- --mandir=/usr/share/man
+ --with-data-packaging=library \
+ --disable-samples \
+ --mandir=/usr/share/man \
+ || return 1
make || return 1
}
@@ -53,5 +56,11 @@ package() {
install -Dm644 "$srcdir"/icu/license.html \
"$pkgdir"/usr/share/licenses/icu/license.html
}
+
+libs() {
+ default_libs
+ replaces="icu"
+}
+
md5sums="bbc609fe5237202d7abf016141012a45 icu4c-49_1_2-src.tgz
70aabd2c1e14477cfa261e729ffd7054 icu-timezone-uclibc.patch"