void-packages/srcpkgs/xdotool/template
2021-08-07 16:12:37 +02:00

29 lines
873 B
Bash

# Template file for 'xdotool'
pkgname=xdotool
version=3.20210804.2
revision=3
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=fde6b15b5978c91e0ecb78cc541a9987752e724820722e479dcc2efc17466c89
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
}