aboutsummaryrefslogtreecommitdiff
path: root/extra/libutf8proc/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libutf8proc/build')
-rwxr-xr-xextra/libutf8proc/build13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/libutf8proc/build b/extra/libutf8proc/build
new file mode 100755
index 00000000..c40173ef
--- /dev/null
+++ b/extra/libutf8proc/build
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B output \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_SHARED_LIBS=OFF \
+ -Wno-dev
+
+cmake --build output
+cmake --install output
+
+clinst -Dm644 -s "s,@VERSION@,$2,g" libutf8proc.pc.in "$1/usr/lib/pkgconfig/libutf8proc.pc"