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.10.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=a4270358ed643633822212a179ad862efcf5408735bfd31e8ec49e4cf1403bf0
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
}
}