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

30 lines
793 B
Bash

# Template build file for 'xf86-input-libinput'.
pkgname=xf86-input-libinput
version=0.18.0
revision=1
lib32disabled=yes
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorg-server-devel libinput-devel"
depends="virtual?xserver-abi-input-22_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=974cabbd6b658ce809b534f6410e2bbbc615f06210f9cc9e48e6d77149134a77
post_install() {
vlicense COPYING
}
xf86-input-libinput-devel_package() {
lib32disabled=yes
depends="${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}