summary refs log tree commit diff
path: root/x11-misc/xkb-switch/xkb-switch-1.5.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x11-misc/xkb-switch/xkb-switch-1.5.0.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-misc/xkb-switch/xkb-switch-1.5.0.ebuild b/x11-misc/xkb-switch/xkb-switch-1.5.0.ebuild
new file mode 100644
index 0000000..1ad025b
--- /dev/null
+++ b/x11-misc/xkb-switch/xkb-switch-1.5.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils multilib
+
+DESCRIPTION="Switch your X keyboard layouts from the command line"
+HOMEPAGE="https://github.com/ierton/xkb-switch"
+SRC_URI="https://github.com/ierton/xkb-switch/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libxkbfile"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_prepare() {
+	default
+
+	sed -i -e "s/DESTINATION lib/DESTINATION $(get_libdir)/" CMakeLists.txt
+}

Consider giving Nix/NixOS a try! <3