xorg/libinput/Pkgfile

31 lines
730 B
Plaintext
Raw Normal View History

2015-12-03 18:06:25 +01:00
# Description: A library that handles input devices for display servers
# URL: http://wayland.freedesktop.org/libinput/doc/latest/index.html
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
# Depends on: mtdev xorg-libevdev meson ninja
2015-12-03 18:06:25 +01:00
name=libinput
2018-02-13 11:27:28 +01:00
version=1.10.0
2017-07-21 09:19:55 +02:00
release=1
2015-12-03 18:06:25 +01:00
source=(http://www.freedesktop.org/software/$name/$name-$version.tar.xz)
build() {
cd $name-$version
meson build \
--prefix /usr \
--libexecdir /usr/lib \
--buildtype release \
-Ddebug-gui=false \
-Ddocumentation=false \
-Dtests=false \
-Dlibwacom=false \
-Dudev-dir=/lib/udev
2017-11-15 09:46:42 +01:00
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
2015-12-03 18:06:25 +01:00
}