30 lines
865 B
Bash
30 lines
865 B
Bash
# Template file for 'xdotool'
|
|
pkgname=xdotool
|
|
version=3.20160805.1
|
|
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=35be5ff6edf0c620a0e16f09ea5e101d5173280161772fca18657d83f20fcca8
|
|
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
|
|
}
|