diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-25 05:33:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-25 05:33:01 +0100 |
commit | 1a256280f70812d1ae23f0ce2a2569291b6609da (patch) | |
tree | 76a302e99d339c5c3b0d18ed3f01a983740a03cb /x11-misc/xssstate/xssstate-1.1-r1.ebuild | |
parent | 83c7eb1835fcfdf7072b953d23ab34f03c7e8ed6 (diff) |
gentoo auto-resync : 25:09:2022 - 05:33:00
Diffstat (limited to 'x11-misc/xssstate/xssstate-1.1-r1.ebuild')
-rw-r--r-- | x11-misc/xssstate/xssstate-1.1-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/x11-misc/xssstate/xssstate-1.1-r1.ebuild b/x11-misc/xssstate/xssstate-1.1-r1.ebuild new file mode 100644 index 000000000000..a28494199a22 --- /dev/null +++ b/x11-misc/xssstate/xssstate-1.1-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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 ~arm64 ~ppc64 ~x86" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXScrnSaver +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.20130103-gentoo.patch + "${FILESDIR}"/${PN}-1.1-libdir.patch #732450 +) + +src_compile() { + emake CC="$(tc-getCC)" LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} + +src_install() { + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + + dodoc README xsidle.sh + doman ${PN}.1 +} |