2020-06-28 09:52:13 -04:00
|
|
|
# Description: a clean C library for processing UTF-8 unicode data
|
2021-10-31 09:34:29 +01:00
|
|
|
# URL: https://juliastrings.github.io/utf8proc/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-06-28 09:52:13 -04:00
|
|
|
|
|
|
|
name=utf8proc
|
2022-10-31 09:03:26 +00:00
|
|
|
version=2.8.0
|
2020-06-28 09:52:13 -04:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/JuliaStrings/utf8proc/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2021-10-31 09:34:29 +01:00
|
|
|
cd $name-$version
|
2020-12-21 15:09:39 +00:00
|
|
|
|
2021-10-31 09:34:29 +01:00
|
|
|
make
|
|
|
|
make prefix=/usr DESTDIR=$PKG install
|
2020-06-28 09:52:13 -04:00
|
|
|
|
2021-10-31 09:34:29 +01:00
|
|
|
cp $PKG/usr/lib/pkgconfig/{lib,}utf8proc.pc
|
|
|
|
|
|
|
|
sed -i 's,^\(Name: \)lib\(utf8proc\),\1\2,' \
|
|
|
|
$PKG/usr/lib/pkgconfig/utf8proc.pc
|
|
|
|
|
|
|
|
rm $PKG/usr/lib/libutf8proc.a
|
2020-06-28 09:52:13 -04:00
|
|
|
}
|