29 lines
833 B
Bash
29 lines
833 B
Bash
# Template file for 'xdotool'
|
|
pkgname=xdotool
|
|
version=3.20160805.1
|
|
revision=2
|
|
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}/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
|
|
}
|