contrib/utf8proc/Pkgfile

23 lines
544 B
Plaintext
Raw Normal View History

2020-06-28 15:52:13 +02: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 15:52:13 +02:00
name=utf8proc
2022-01-01 19:07:22 +01:00
version=2.7.0
2020-06-28 15:52:13 +02: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 16:09:39 +01:00
2021-10-31 09:34:29 +01:00
make
make prefix=/usr DESTDIR=$PKG install
2020-06-28 15:52:13 +02: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 15:52:13 +02:00
}