summaryrefslogtreecommitdiff
path: root/libs/inih/MAKEPKG
blob: 9067458be4aa084c63d1bfed22ec990792facb19 (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
#!/bin/mkpkg
# description: Simple .INI file parser library written in C
# url: https://github.com/benhoyt/inih

name=inih
version=62
release=2
makedeps=(meson)
source=(https://github.com/benhoyt/inih/archive/r$version/$name-$version.tar.gz)

sha256sums=(
    "9c15fa751bb8093d042dae1b9f125eb45198c32c6704cd5481ccde460d4f8151"
)

build() {
    meson setup $name-r$version build \
        --prefix=/usr \
        --buildtype=release \
        -D with_INIReader=false \
        -D distro_install=true \
        -D tests=false
    
    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

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

# vim: filetype=sh