aboutsummaryrefslogtreecommitdiff
path: root/extra/libutf8proc/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-11-15 15:07:36 +0100
committerCem Keylan <cem@ckyln.com>2021-11-15 15:07:36 +0100
commit81272711f117666afc38407ceed587dc9039a729 (patch)
tree00415bed6d2b60a8e671e675ae57dc9c6b4b5a73 /extra/libutf8proc/build
parent5f92f202beb752f7d2fbe4a2557ac75c36752115 (diff)
downloadrepository-81272711f117666afc38407ceed587dc9039a729.tar.gz
libutf8proc: add new package at 2.4.0
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"