void-packages/srcpkgs/libinput/template
2018-10-24 13:58:34 -03:00

28 lines
851 B
Bash

# Template file for 'libinput'
pkgname=libinput
version=1.12.2
revision=1
build_style=meson
configure_args="-Ddebug-gui=false -Ddocumentation=false"
hostmakedepends="pkg-config valgrind"
makedepends="libevdev-devel libwacom-devel mtdev-devel check-devel"
short_desc="Provides handling input devices in Wayland compositors and X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://www.freedesktop.org/wiki/Software/libinput"
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=6b9b95e9b515ace27a5f8a804f3868d39c699cd8fc485fd57aed1739009c1cf1
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
}
}