utf8proc: adopted port

This commit is contained in:
Tim Biermann 2021-10-31 09:34:29 +01:00
parent 866c309da5
commit bf4feb0711
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 13 additions and 11 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3w/1a/Kknjc1O0IUQSjKiUQFzhv0X7TV5B/G6NoHRGagMu9NzOE+UZp4dkawAOmGycXgm2sjKR971ePfM9USbwg=
SHA256 (Pkgfile) = 3d878e24f8f01244e7aa10941a640d605eeb61379aa255270ce6d25ce5053d3c
RWSagIOpLGJF3w3DpoaKqOUYXDYW7a0n8ugYgNC529LUZVoVssSYU/ApzEMN2yGgdyoP61fBaaadV1jFGKzhOSY/WKuh4jMgMAg=
SHA256 (Pkgfile) = d614624c978fc564a7262dd577e2ea62bd23cdf891757d2fa030685fb7bb6598
SHA256 (.footprint) = 860881d740579ffd39972d392142a6e1e7902dd39ad4637f9022597e31969e1c
SHA256 (utf8proc-2.6.1.tar.gz) = 4c06a9dc4017e8a2438ef80ee371d45868bda2237a98b26554de7a95406b283b

View File

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