summaryrefslogtreecommitdiff
path: root/libs/libxkbcommon/MAKEPKG
blob: a23c129b8ecd95c3fbf617196f04d1143fc8b412 (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: Keyboard handling library
# url: https://xkbcommon.org/

name=libxkbcommon
version=1.13.2
release=1
depends=(libxml2 wayland-protocols xkeyboard-config)
makedeps=(meson bison m4)
source=(https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-$version.tar.gz)

sha256sums=(
    "acc4d5f7c3cbba5f9f8d08d8bdbeede84ecede46792f47929aa9321873385528"
)

build() {
    meson setup libxkbcommon-xkbcommon-$version build \
        --prefix=/usr \
        --libdir=/usr/lib \
        --libexecdir=/usr/lib \
        --buildtype=plain \
        -D enable-wayland=true \
        -D enable-x11=false \
        -D enable-docs=false \
        -D enable-bash-completion=false
    
    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

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

# vim: filetype=sh