void-packages/srcpkgs/libinput/template
2017-01-16 11:08:05 +01:00

27 lines
790 B
Bash

# Template file for 'libinput'
pkgname=libinput
version=1.5.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="mtdev-devel eudev-libudev-devel libevdev-devel libwacom-devel"
short_desc="Provides handling input devices in Wayland compositors and X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://www.freedesktop.org/wiki/Software/libinput/"
distfiles="$FREEDESKTOP_SITE/$pkgname/$pkgname-$version.tar.xz"
checksum=6f9ad1ede468bd54ec4469b8a4eb93a6f62f7fe6480c7a43e36c5d58cc2822b7
post_install() {
vlicense COPYING
}
libinput-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}