aboutsummaryrefslogtreecommitdiff
path: root/extra/harfbuzz-icu/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/harfbuzz-icu/build')
-rwxr-xr-xextra/harfbuzz-icu/build17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/harfbuzz-icu/build b/extra/harfbuzz-icu/build
new file mode 100755
index 00000000..ea56dc49
--- /dev/null
+++ b/extra/harfbuzz-icu/build
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+# Will store the built package's files to
+# allow us to cherry-pick the ICU related files.
+mkdir -p tmp
+
+./configure \
+ --prefix=/usr \
+ --with-glib=yes \
+ --with-icu=yes
+
+make
+make DESTDIR="$PWD/tmp" install
+
+install -Dt "$1/usr/lib" tmp/usr/lib/libharfbuzz-icu*
+install -Dt "$1/usr/lib/pkgconfig" tmp/usr/lib/pkgconfig/harfbuzz-icu.pc
+install -Dt "$1/usr/include/harfbuzz" tmp/usr/include/harfbuzz/hb-icu.h