Package-Manager: Portage-2.3.87, Repoman-2.3.20
Bug: https://bugs.gentoo.org/707966
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
+DIST xtrlock_2.12.tar.xz 20620 BLAKE2B d40599f5fec67b8e89f1028dafc929a9b21d6ae1f6e094658d07859e7f74e4686d338e1e03393f9981a62030839969b57493a8655e225b963df8dc04cf6b62f6 SHA512 8392a8c254726e99d2324415bfdac6e577f725942d4e7fd39c915637f87814f1737aefa903a1502632272cabbb10182070dc15ec5d3e5268c9c1b53218d00f36
DIST xtrlock_2.8.tar.gz 21125 BLAKE2B cd5ec919866b074ad7207756a10a0fdd23bf963e9252ff7afa30a1f1d9af4b015e9010036e9920b15d382993870c6909f4689e231e1b29bfe3d48b6271f20354 SHA512 a1388250430f7cb7bfe875aae938c332098f9e88ab7a17d68634b36726acfa7a459bf40f71e6df3c6b1256fb4574a62b2fc72357c6e779c1bc55f10204634068
--- /dev/null
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="A simplistic screen locking program for X"
+HOMEPAGE="http://ftp.debian.org/debian/pool/main/x/xtrlock/"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${P/-/_}.tar.xz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+ x11-libs/libX11
+"
+DEPEND="
+ ${RDEPEND}
+ x11-base/xorg-proto
+ x11-misc/imake
+"
+
+src_compile() {
+ xmkmf || die
+ emake CDEBUGFLAGS="${CFLAGS} -DSHADOW_PWD" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" xtrlock
+}
+
+src_install() {
+ dobin xtrlock
+ chmod u+s "${D}"/usr/bin/xtrlock
+ newman xtrlock.man xtrlock.1
+ dodoc debian/changelog
+}