void-packages/srcpkgs/xdotool/template

30 lines
838 B
Bash

# Template file for 'xdotool'
pkgname=xdotool
version=3.20160805.1
revision=1
build_style=gnu-makefile
hostmakedepends="perl pkg-config"
makedepends="libXtst-devel libXinerama-devel libxkbcommon-devel"
make_build_target="all"
make_install_args="INSTALLMAN=$DESTDIR/usr/share/man"
short_desc="Command-line X11 automation tool"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="https://github.com/jordansissel/xdotool"
distfiles="https://github.com/jordansissel/${pkgname}/archive/v${version}.tar.gz"
checksum=ddafca1239075c203769c17a5a184587731e56fbe0438c09d08f8af1704e117a
CFLAGS="-std=c99"
xdotool-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}
post_install() {
vlicense COPYRIGHT
}