void-packages/srcpkgs/xf86-input-libinput/template

31 lines
861 B
Bash

# Template build file for 'xf86-input-libinput'.
pkgname=xf86-input-libinput
version=0.9.0
revision=1
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel libinput-devel"
depends="virtual?xserver-abi-input-21_1"
short_desc="Generic input driver for the X.Org server based on libinput"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2"
checksum=37f623b7869c700156049fa9204bafd6027bf5c3acd9017919e42199bcc666da
post_install() {
vinstall ${FILESDIR}/90-libinput.conf 644 usr/share/X11/xorg.conf.d
vlicense COPYING
}
xf86-input-libinput-devel_package() {
lib32disabled=yes
depends="${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}