2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00
repo/extra/libinput/build

24 lines
420 B
Plaintext
Raw Normal View History

2019-06-28 01:07:46 -06:00
#!/bin/sh -e
2019-10-07 15:07:48 -06:00
export DESTDIR="$1"
pkg-config --exists libudev || {
printf 'udev (or libudev-zero) is required\n'
exit 1
}
2020-01-19 07:28:48 -07:00
2019-06-28 01:07:46 -06:00
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--libexecdir=/usr/lib \
2019-06-28 01:07:46 -06:00
-Ddebug-gui=false \
-Ddocumentation=false \
-Dtests=false \
-Dlibwacom=false \
2020-01-19 07:28:48 -07:00
-Dudev="${udev:=true}" \
2019-06-28 01:07:46 -06:00
. output
ninja -C output
2019-10-07 15:07:48 -06:00
ninja -C output install