void-packages/srcpkgs/libinput/template

24 lines
779 B
Plaintext

# Template file for 'libinput'
pkgname=libinput
version=0.7.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="mtdev-devel libudev-devel libevdev-devel"
short_desc="Library to handle input devices in Wayland compositors and to provide a generic X.Org input driver"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/libinput/"
distfiles="http://freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
checksum=129f485afe5e4a9394641293991c97cb99f5f3338340d0d65b704ff463d1579e
libinput-devel_package() {
short_desc+=" - development files"
depends="libudev-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}