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.27.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libinput-devel xorg-server-devel"
depends="virtual?xserver-abi-input-24_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=d4ad8dc5ad6f962a3f15f61ba9e9f8e37fa0b57eee9f484e2bd721d60ca72ee6
lib32disabled=yes
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
}
}