summaryrefslogtreecommitdiff
path: root/core/pcre2/MAKEPKG
blob: 43aab6bfdd0a28bc1b02e86455dff8f584340596 (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
37
38
39
40
41
42
43
44
45
#!/bin/mkpkg
# description: Perl Compatible Regular Expressions (v2)
# url: https://github.com/PCRE2Project/pcre2

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

sha256sums=(
    "b6c68fdf6f3ac31388b50aa89ff0fc49c00c987c16e7b5146491d12003f2c8ed"
)

build() {
    cd pcre2-$version

    ./configure \
        --prefix=/ \
        --libdir=/lib \
        --includedir=/include \
        --bindir=/bin \
        --mandir=/usr/share/man \
        --disable-static \
        --enable-unicode \
        --enable-pcre2-16 \
        --enable-pcre2-32 \
        --enable-pcre2grep-libz \
        --disable-pcre2grep-libbz2 \
        --enable-jit

    make
    make DESTDIR=$PKG install

    # Remove docs
    rm -rf $PKG/share
}

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

# vim: filetype=sh