void-packages/srcpkgs/libinput/template

29 lines
844 B
Bash

# Template file for 'libinput'
pkgname=libinput
version=1.10.5
revision=1
build_style=meson
configure_args="-Dtests=false -Ddebug-gui=false -Ddocumentation=false"
hostmakedepends="pkg-config"
makedepends="libevdev-devel libwacom-devel mtdev-devel"
short_desc="Provides handling input devices in Wayland compositors and X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://www.freedesktop.org/wiki/Software/libinput"
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=cbb1c03b8fb4b1d3781db5c8c66cdc1e754c0354037bcf39b2d8d08710077b2e
post_install() {
vlicense COPYING
}
libinput-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}