gentoo-ebuilds/x11-misc/xkblayout-state/xkblayout-state-0_p20211106.ebuild
Michael Mair-Keimberger fe3f50c529
x11-misc/xkblayout-state: EAPI8 bump
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31835
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2023-07-12 20:37:31 +02:00

29 lines
684 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
# Commit Date: 06 Nov 2021
EGIT_COMMIT="f311779ed95f43f1fdebed0f710ad84057e6fe19"
DESCRIPTION="Small program to get/set the current XKB layout"
HOMEPAGE="https://github.com/nonpop/xkblayout-state"
SRC_URI="https://github.com/nonpop/xkblayout-state/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
src_compile() {
emake CXX="$(tc-getCXX)"
}
src_install() {
emake PREFIX="${EPREFIX}"/usr DESTDIR="${D}" install
}