compat-32/libinput-32/Pkgfile
2020-02-07 23:34:29 +11:00

29 lines
762 B
Plaintext

# Description: A library that handles input devices for display servers
# URL: http://wayland.freedesktop.org/libinput/doc/latest/index.html
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: eudev-32 libinput mtdev-32 xorg-libevdev-32
name=libinput-32
version=1.15.1
release=1
source=(https://www.freedesktop.org/software/${name%-*}/${name%-*}-$version.tar.xz)
build() {
cd ${name%-*}-$version
meson build \
--prefix /usr \
--libdir=/usr/lib32 \
--libexecdir /usr/lib32 \
--buildtype release \
-Ddebug-gui=false \
-Ddocumentation=false \
-Dtests=false \
-Dlibwacom=false \
-Dudev-dir=/lib/udev
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
rm -r $PKG/lib $PKG/usr/{bin,include,lib32/libinput,share}
}