summaryrefslogtreecommitdiff
path: root/libs/glib/MAKEPKG
blob: 4765ef77f6786b05c00b08c4e932aeb7b62c5094 (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
#!/bin/mkpkg
# description: Low-level core library for GNOME/GTK
# url: https://docs.gtk.org/glib/

name=glib
version=2.90.0
release=1
_short=2.90
depends=(pcre2 libffi zlib)
makedeps=(meson python3)
source=(https://download.gnome.org/sources/$name/$_short/$name-$version.tar.xz)

sha256sums=(
    "17d15cac2af80a33271127408e0abc2748eb297c595c2a26409e81e14e7d1b8f"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --buildtype=plain \
        -D glib_debug=disabled \
        -D man-pages=disabled \
        -D documentation=false \
        -D dtrace=disabled \
        -D systemtap=disabled \
        -D sysprof=disabled \
        -D tests=false

    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

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

# vim: filetype=sh