From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- x11-misc/xssstate/xssstate-1.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 x11-misc/xssstate/xssstate-1.1.ebuild (limited to 'x11-misc/xssstate/xssstate-1.1.ebuild') diff --git a/x11-misc/xssstate/xssstate-1.1.ebuild b/x11-misc/xssstate/xssstate-1.1.ebuild new file mode 100644 index 000000000000..cda0b3adfc2b --- /dev/null +++ b/x11-misc/xssstate/xssstate-1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="A simple tool to retrieve the X screensaver state" +HOMEPAGE="https://tools.suckless.org/x/xssstate" +SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXScrnSaver +" +DEPEND=" + ${RDEPEND} + x11-proto/scrnsaverproto + x11-proto/xproto +" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch + tc-export CC +} + +src_install() { + emake DESTDIR="${D}" PREFIX='/usr' install + dodoc README xsidle.sh + doman ${PN}.1 +} -- cgit v1.2.3