compat-32/libinput-32/Pkgfile
2018-03-18 20:01:48 +11:00

34 lines
854 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: mtdev-32 eudev-32 xorg-libevdev-32 libinput
name=libinput-32
version=1.10.3
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
install -d $PKG/etc/udev
mv $PKG/lib/udev/hwdb.d $PKG/etc/udev
chmod -R g-w $PKG
rm -r $PKG/{etc,lib} $PKG/usr/{bin,include,lib32/libinput,share}
}