# Template file for 'slop'
pkgname=slop
version=3.1.12
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=33111ee81017238a384c261ae2d8f5338b3aeed22996e12bae6b7c89107b11de

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