void-packages/srcpkgs/libinput/template

24 lines
784 B
Plaintext

# Template file for 'libinput'
pkgname=libinput
version=0.6.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=30b555771e7cb921ccb9430c4a86940aa3938d05506e81d2417c03e30451bfbc
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
}
}