void-packages/srcpkgs/libinput/template

29 lines
853 B
Bash

# Template file for 'libinput'
pkgname=libinput
version=1.9.4
revision=1
build_style=meson
configure_args="-Dtests=false -Ddebug-gui=false -Ddocumentation=false"
hostmakedepends="pkg-config"
makedepends="mtdev-devel eudev-libudev-devel libevdev-devel libwacom-devel"
short_desc="Provides handling input devices in Wayland compositors and X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/libinput/"
distfiles="$FREEDESKTOP_SITE/$pkgname/$pkgname-$version.tar.xz"
checksum=0bcdbd4c4e3c2a2db322fbdf2ef3284f2e6d6fb7be3af80e6d8de7783f675190
post_install() {
vlicense COPYING
}
libinput-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}