void-packages/srcpkgs/libinput/template
2016-02-29 13:28:52 +01:00

26 lines
783 B
Bash

# Template file for 'libinput'
pkgname=libinput
version=1.2.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="mtdev-devel 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=e2db8c5357f8859b33c58e583601f50509f085ae9340a58790bcf44f1480c1c3
# static_assert()
CFLAGS="-std=c11"
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
}
}