void-packages/srcpkgs/libinput/template

23 lines
732 B
Text

# Template file for 'libinput'
pkgname=libinput
version=0.12.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="mtdev-devel libudev-devel libevdev-devel"
short_desc="Provides handling input devices in Wayland compositors and X.Org"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/libinput/"
distfiles="$FREEDESKTOP_SITE/$pkgname/$pkgname-$version.tar.xz"
checksum=6e0ce9dd9ff04e9ac382dffb7fa332b94f093227a197a9c8189e87de6d88b55a
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
}
}