void-packages/srcpkgs/xsettingsd/template

28 lines
784 B
Bash

# Template file for 'xsettingsd'
pkgname=xsettingsd
version=0.0.20151712
revision=1
_git_ref=b4999f5e9e99224caf97d09f25ee731774ecd7be
wrksrc=$pkgname-$_git_ref
build_style=scons
hostmakedepends="scons pkg-config libX11-devel"
makedepends="libX11-devel"
short_desc="Daemon that implements the XSETTINGS specification"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="3-clause-BSD"
homepage="https://github.com/derat/xsettingsd"
distfiles="https://github.com/derat/xsettingsd/archive/${_git_ref}.tar.gz"
checksum=16c14ce201d71f5ca66477cfcc276874e3af8d1bc3bb01cd04059ca9757c4449
pre_configure() {
sed -i '48ienv.Replace(CXX=os.environ.get("CXX", ""))' SConstruct
}
do_install() {
vbin xsettingsd
vbin dump_xsettings
vman xsettingsd.1
vman dump_xsettings.1
vlicense COPYING
}