void-packages/srcpkgs/xdotool/template

30 lines
873 B
Bash

# Template file for 'xdotool'
pkgname=xdotool
version=3.20211022.1
revision=1
build_style=gnu-makefile
make_build_target="all"
make_install_args="INSTALLMAN=$DESTDIR/usr/share/man"
hostmakedepends="perl pkg-config"
makedepends="libXtst-devel libXinerama-devel libxkbcommon-devel"
short_desc="Command-line X11 automation tool"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://github.com/jordansissel/xdotool"
distfiles="https://github.com/jordansissel/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada
xdotool-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}
post_install() {
vlicense COPYRIGHT
}