contrib/utf8proc/Pkgfile

23 lines
544 B
Plaintext

# Description: a clean C library for processing UTF-8 unicode data
# URL: https://juliastrings.github.io/utf8proc/
# Maintainer: Tim Biermann, tbier at posteo dot de
name=utf8proc
version=2.9.0
release=1
source=(https://github.com/JuliaStrings/utf8proc/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
make
make prefix=/usr DESTDIR=$PKG install
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
}