void-packages/srcpkgs/libinput/template

25 lines
803 B
Plaintext

# Template file for 'libinput'
pkgname=libinput
version=0.1.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=63214727be5115806868ebdf9470fe2ddf4b2e1229102e080237380d22b40a1d
libinput-devel_package() {
short_desc+=" - development files"
depends="libudev-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}