diff --git a/srcpkgs/setroot/template b/srcpkgs/setroot/template new file mode 100644 index 00000000000..854e73abab3 --- /dev/null +++ b/srcpkgs/setroot/template @@ -0,0 +1,20 @@ +# Template file for 'setroot' +pkgname=setroot +version=2.0.1 +revision=1 +build_style=gnu-makefile +build_options="xinerama" +build_options_default="xinerama" +desc_option_xinerama="Multiple monitors support" +make_build_args="xinerama=$(vopt_if xinerama 1 0)" +makedepends="imlib2-devel $(vopt_if xinerama libXinerama-devel)" +short_desc="Simple X background setter" +maintainer="SolitudeSF " +license="GPL-3" +homepage="https://github.com/ttzhou/setroot" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=2cfd43c3cc9bbeae7ab74bb89a72f42b4741b5a6b23588a74b20d38ae1fff810 + +pre_build() { + export CFLAGS="$CFLAGS $LDFLAGS" +}