summaryrefslogtreecommitdiff
path: root/libs/pcre2/MAKEPKG
blob: d31bc61b87d40e0c837989aec68b1b2231cd0524 (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
32
33
34
35
36
#!/bin/mkpkg
# description: Perl Compatible Regular Expressions (legacy)
# url: https://www.pcre.org

name=pcre2
version=10.48
release=1
source=(
    https://github.com/PCRE2Project/pcre2/releases/download/$name-$version/$name-$version.tar.bz2
)
sha256sums=(
    "b6c68fdf6f3ac31388b50aa89ff0fc49c00c987c16e7b5146491d12003f2c8ed"
)

build() {
    cd $name-$version
    
    ./configure \
        --prefix=/usr \
        --enable-utf8 \
        --enable-unicode-properties \
        --enable-jit
    
    make
    make DESTDIR=$PKG install
    
    rm -rf $PKG/usr/share/doc
    rm -f $PKG/usr/lib/*.la
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh