void-packages/srcpkgs/setroot/template
SolitudeSF 3bd76e9b09 New package: setroot-2.0.1
Closes: #7822 [via git-merge-pr]
2017-10-15 16:19:10 -07:00

21 lines
648 B
Bash

# 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 <solitudesf@protonmail.com>"
license="GPL-3"
homepage="https://github.com/ttzhou/setroot"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=2cfd43c3cc9bbeae7ab74bb89a72f42b4741b5a6b23588a74b20d38ae1fff810
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}