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.12.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=db8f919c24a381cec1e7840f1f2117251501c0c7ae2a43941d84753154a826d6
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
}
}