diff --git a/srcpkgs/maim/template b/srcpkgs/maim/template new file mode 100644 index 00000000000..5979977bdee --- /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>${pkgname}-${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 +}