# Template file for 'slop'
pkgname=slop
version=3.1.10
revision=1
build_style=cmake
hostmakedepends="pkg-config cmake"
makedepends="libX11-devel libXext-devel"
short_desc="Utility to query the user for a selection and print the region to stdout"
maintainer="ShadowKyogre <shadowkyogre.public@gmail.com>"
license="GPL-3"
homepage="https://github.com/naelstrof/${pkgname}"
distfiles="https://github.com/naelstrof/${pkgname}/archive/v${version}.tar.gz"
checksum=5541acd5d449d62a42984db5f1316b684847301ee86fa0bb6c41a264cf6740a2

pre_build() {
	# workaround for the cmake file expecting to be run in ., not build
	cp build/src/cmdline.h src/cmdline.h
}
