diff --git a/srcpkgs/maim/template b/srcpkgs/maim/template new file mode 100644 index 00000000000..330603734c1 --- /dev/null +++ b/srcpkgs/maim/template @@ -0,0 +1,18 @@ +# Template file for 'maim' +pkgname=maim +version=2.3.31 +revision=1 +build_style=cmake +hostmakedepends="pkg-config cmake" +makedepends="imlib2-devel libX11-devel libXrandr-devel libXext-devel freetype-devel libXfixes-devel" +short_desc="A small application that takes care of setting the background image on different workspaces" +maintainer="ShadowKyogre " +license="GPL-3" +homepage="https://github.com/naelstrof/${pkgname}" +distfiles="https://github.com/naelstrof/${pkgname}/archive/v${version}.tar.gz" +checksum=5183730e3ca1b505beff006c24c7d2f3df41e373e427479fcba031fc1df96df0 + +pre_build() { + # workaround for the cmake file expecting to be run in ., not build + cp build/src/cmdline.h src/cmdline.h +} diff --git a/srcpkgs/slop/template b/srcpkgs/slop/template new file mode 100644 index 00000000000..ee35ba62281 --- /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" +checksum=5541acd5d449d62a42984db5f1316b684847301ee86fa0bb6c41a264cf6740a2 + +pre_build() { + # workaround for the cmake file expecting to be run in ., not build + cp build/src/cmdline.h src/cmdline.h +}