void-packages/srcpkgs/libinput/template
2014-08-09 13:04:24 +02:00

24 lines
808 B
Text

# Template file for 'libinput'
pkgname=libinput
version=0.5.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="mtdev-devel libudev-devel libevdev-devel>=1.2"
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=349c63d8819ddfc1a35fc8bcf352256b952ae22b1ff370fd819a16f67e801ea7
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
}
}