aboutsummaryrefslogtreecommitdiff
path: root/extra/libutf8proc/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-11-15 19:36:56 +0100
committerCem Keylan <cem@ckyln.com>2021-11-15 19:36:56 +0100
commitfe19f732336035fe05eb6de130a98c6dea7d36d2 (patch)
tree7f773986ab37c366dfb85661279655387845a6e0 /extra/libutf8proc/build
parent866eed7734cd6bd6071ec85307bc32c92cc71df7 (diff)
downloadrepository-fe19f732336035fe05eb6de130a98c6dea7d36d2.tar.gz
libutf8proc: use newer source, don't use cmake
Diffstat (limited to 'extra/libutf8proc/build')
-rwxr-xr-xextra/libutf8proc/build12
1 files changed, 3 insertions, 9 deletions
diff --git a/extra/libutf8proc/build b/extra/libutf8proc/build
index c40173ef..4fb89fb1 100755
--- a/extra/libutf8proc/build
+++ b/extra/libutf8proc/build
@@ -1,13 +1,7 @@
#!/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
+make libutf8proc.a
+clinst -Dm644 libutf8proc.a "$1/usr/lib/libutf8proc.a"
+clinst -Dm644 utf8proc.h "$1/usr/include/utf8proc.h"
clinst -Dm644 -s "s,@VERSION@,$2,g" libutf8proc.pc.in "$1/usr/lib/pkgconfig/libutf8proc.pc"