summaryrefslogtreecommitdiff
path: root/libs/utf8proc/MAKEPKG
blob: c3b46dbeeac858db89148ac7063132e52cc407ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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