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

31 lines
862 B
Bash

# Template build file for 'xf86-input-libinput'.
pkgname=xf86-input-libinput
version=0.14.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=e8d05798a556e5ea0d9f1823bb632e425487e8bcf89711ed93b079bbee742265
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
}
}