void-packages/srcpkgs/libinput/template
2016-06-25 08:07:23 +02:00

30 lines
827 B
Bash

# Template file for 'libinput'
pkgname=libinput
version=1.3.3
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=30c8edfe47654a38c235ac6b0541d79fd593d010bc18cdda8bd1f6cc6ad8b1ce
# static_assert()
CFLAGS="-std=c11"
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
}
}