diff --git a/srcpkgs/xsettingsd/template b/srcpkgs/xsettingsd/template new file mode 100644 index 00000000000..a7239ce167b --- /dev/null +++ b/srcpkgs/xsettingsd/template @@ -0,0 +1,27 @@ +# 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 " +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 +}