summaryrefslogtreecommitdiff
path: root/libs/libinput/MAKEPKG
blob: 64bcb4129db588c680f6c570f1a7a25fdac3f09c (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: Input device handling library
# url: https://freedesktop.org/wiki/Software/libinput

name=libinput
version=1.32.0
release=2
depends=(udevd mtdev libevdev)
makedeps=(meson)
source=(https://gitlab.freedesktop.org/libinput/libinput/-/archive/$version/$name-$version.tar.bz2)

sha256sums=(
    "3a6065c07b118c08d0c7b7b85a265ecb050a8cfc91eeb360890d768a51b4cce9"
)

build() {
    meson setup $name-$version build \
        --prefix=/usr \
        --libdir=lib \
        --libexecdir=/usr/lib \
        --buildtype=plain \
        -D udev-dir=/lib/udev \
        -D debug-gui=false \
        -D documentation=false \
        -D tests=false \
        -D libwacom=false \
        -D zshcompletiondir=no
    
    meson compile -C build
    DESTDIR=$PKG meson install -C build
}

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

# vim: filetype=sh