summaryrefslogtreecommitdiff
path: root/libs/utf8proc/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/utf8proc/MAKEPKG')
-rw-r--r--libs/utf8proc/MAKEPKG31
1 files changed, 31 insertions, 0 deletions
diff --git a/libs/utf8proc/MAKEPKG b/libs/utf8proc/MAKEPKG
new file mode 100644
index 0000000..c3b46db
--- /dev/null
+++ b/libs/utf8proc/MAKEPKG
@@ -0,0 +1,31 @@
+#!/bin/mkpkg
+# description: Clean C library for processing UTF-8 Unicode data
+# url: https://juliastrings.github.io/utf8proc/
+
+name=utf8proc
+version=2.11.3
+release=1
+source=(https://github.com/JuliaStrings/utf8proc/archive/v$version/$name-$version.tar.gz)
+
+sha256sums=(
+ "abfed50b6d4da51345713661370290f4f4747263ee73dc90356299dfc7990c78"
+)
+
+build() {
+ cd $name-$version
+
+ make
+ make DESTDIR=$PKG prefix=/usr install
+
+ cp $PKG/usr/lib/pkgconfig/libutf8proc.pc $PKG/usr/lib/pkgconfig/utf8proc.pc
+ sed -i 's,^Name: libutf8proc,Name: utf8proc,' $PKG/usr/lib/pkgconfig/utf8proc.pc
+
+ rm -f $PKG/usr/lib/libutf8proc.a
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh