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

32 lines
908 B
Bash

# Template file for 'xf86-input-libinput'
pkgname=xf86-input-libinput
version=1.2.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="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://xorg.freedesktop.org/"
# no official changelog
#changelog="https://gitlab.freedesktop.org/xorg/driver/xf86-input-libinput/-/commits/master/"
distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.xz"
checksum=8151db5b9ddb317c0ce92dcb62da9a8db5079e5b8a95b60abc854da21e7e971b
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
}
}