aboutsummaryrefslogtreecommitdiffstats
path: root/main/harfbuzz/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-14 11:22:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-14 11:22:02 +0000
commitcfaf66490214b2ac4ed588aa72c114d77e451e93 (patch)
tree558617714d1af1075fb455c1baefbde0b773d3a0 /main/harfbuzz/APKBUILD
parentc7e8cd742598bdb523004716d20de413265e048e (diff)
downloadaports-cfaf66490214b2ac4ed588aa72c114d77e451e93.tar.bz2
aports-cfaf66490214b2ac4ed588aa72c114d77e451e93.tar.xz
main/harfbuzz: split out icu support to subpackage
Diffstat (limited to 'main/harfbuzz/APKBUILD')
-rw-r--r--main/harfbuzz/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/harfbuzz/APKBUILD b/main/harfbuzz/APKBUILD
index 65f2de90d5..b2f62b9ca1 100644
--- a/main/harfbuzz/APKBUILD
+++ b/main/harfbuzz/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=harfbuzz
pkgver=0.9.18
-pkgrel=0
+pkgrel=1
pkgdesc="Text shaping library"
url="http://freedesktop.org/wiki/Software/HarfBuzz"
arch="all"
@@ -10,7 +10,7 @@ depends=""
depends_dev=""
makedepends="$depends_dev freetype-dev glib-dev cairo-dev icu-dev"
install=""
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-icu"
source="http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$pkgver.tar.bz2"
_builddir="$srcdir"/harfbuzz-$pkgver
@@ -43,6 +43,13 @@ dev() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
+icu() {
+ pkgdesc="Harfbuzz ICU support library"
+ replaces="harfbuzz"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/lib*icu.so.* "$subpkgdir"/usr/lib/
+}
+
md5sums="0bff05fafef4894031b2b64a65ac1899 harfbuzz-0.9.18.tar.bz2"
sha256sums="fef0fbbc6d6492cb4074a5e26a699d87d88bef8adc25dda62af6077735a7d908 harfbuzz-0.9.18.tar.bz2"
sha512sums="cf873e903b620391efbd681a01620f1719d278bf10a61a8f583abb9ba116ec494459cef1f81f137cf2dbb089c9d6a8460576ccabd46ab3f23a50e3731b427f5d harfbuzz-0.9.18.tar.bz2"