]> git.armaanb.net Git - asd-repo.git/blob - extra/libinput/build
52895f7a738012c799c5e2d746e4a6f84e7e66b3
[asd-repo.git] / extra / libinput / build
1 #!/bin/sh -e
2
3 export DESTDIR="$1"
4
5 pkg-config --exists libudev || {
6     printf 'udev (or libudev-zero) is required\n'
7     exit 1
8 }
9
10 meson \
11     --prefix=/usr \
12     --sysconfdir=/etc \
13     --mandir=/usr/share/man \
14     --libexecdir=/usr/lib \
15     -Ddebug-gui=false \
16     -Ddocumentation=false \
17     -Dtests=false \
18     -Dlibwacom=false \
19     . output
20
21 ninja -C output
22 ninja -C output install