aboutsummaryrefslogtreecommitdiff
path: root/extra/libutf8proc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libutf8proc')
-rwxr-xr-xextra/libutf8proc/build7
-rw-r--r--extra/libutf8proc/checksums3
-rw-r--r--extra/libutf8proc/files/libutf8proc.pc.in10
-rw-r--r--extra/libutf8proc/meta3
-rw-r--r--extra/libutf8proc/sources2
-rw-r--r--extra/libutf8proc/version1
6 files changed, 26 insertions, 0 deletions
diff --git a/extra/libutf8proc/build b/extra/libutf8proc/build
new file mode 100755
index 00000000..4fb89fb1
--- /dev/null
+++ b/extra/libutf8proc/build
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+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"
diff --git a/extra/libutf8proc/checksums b/extra/libutf8proc/checksums
new file mode 100644
index 00000000..b4ce135f
--- /dev/null
+++ b/extra/libutf8proc/checksums
@@ -0,0 +1,3 @@
+%BLAKE3
+8510f33877582eda2e8ee282ef290f3407de48d8feb6becb2f41c1f3aa3669d0 v2.8.0.tar.gz
+3a337eb8fb3d857216a65110568f09be3644a85331eb70526d4a448df0be719d libutf8proc.pc.in
diff --git a/extra/libutf8proc/files/libutf8proc.pc.in b/extra/libutf8proc/files/libutf8proc.pc.in
new file mode 100644
index 00000000..c59a78a1
--- /dev/null
+++ b/extra/libutf8proc/files/libutf8proc.pc.in
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libutf8proc
+Description: UTF8 processing
+Version: @VERSION@
+Libs: -L${libdir} -lutf8proc
+Cflags: -I${includedir} -DUTF8PROC_EXPORTS
diff --git a/extra/libutf8proc/meta b/extra/libutf8proc/meta
new file mode 100644
index 00000000..135ee8c4
--- /dev/null
+++ b/extra/libutf8proc/meta
@@ -0,0 +1,3 @@
+description: C library for processing UTF-8 encoded Unicode strings
+license: MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/libutf8proc/sources b/extra/libutf8proc/sources
new file mode 100644
index 00000000..3ceca38b
--- /dev/null
+++ b/extra/libutf8proc/sources
@@ -0,0 +1,2 @@
+https://github.com/JuliaStrings/utf8proc/archive/refs/tags/v2.8.0.tar.gz
+files/libutf8proc.pc.in
diff --git a/extra/libutf8proc/version b/extra/libutf8proc/version
new file mode 100644
index 00000000..0678a364
--- /dev/null
+++ b/extra/libutf8proc/version
@@ -0,0 +1 @@
+2.8.0 1