diff --git a/srcpkgs/slop/template b/srcpkgs/slop/template new file mode 100644 index 0000000000..b0cceabe2c --- /dev/null +++ b/srcpkgs/slop/template @@ -0,0 +1,18 @@ +# 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 " +license="GPL-3" +homepage="https://github.com/naelstrof/${pkgname}" +distfiles="https://github.com/naelstrof/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${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 +}