diff options
Diffstat (limited to 'x11-misc/xkb-switch')
-rw-r--r-- | x11-misc/xkb-switch/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/xkb-switch/metadata.xml | 8 | ||||
-rw-r--r-- | x11-misc/xkb-switch/xkb-switch-1.5.0.ebuild | 25 |
3 files changed, 34 insertions, 0 deletions
diff --git a/x11-misc/xkb-switch/Manifest b/x11-misc/xkb-switch/Manifest new file mode 100644 index 0000000..06a4945 --- /dev/null +++ b/x11-misc/xkb-switch/Manifest @@ -0,0 +1 @@ +DIST xkb-switch-1.5.0.tar.gz 18899 BLAKE2B 8abf9ad4a8a82fb96ccc1725b3532dc3fcefcc5724888265ffe2f1178b182868c8f65d48db2621cf66d09eaae22e6c0305cfac2dc1b984833b2726e163622b48 SHA512 41e85885aba48ec652f17e7c21cb5c343c5001ea3ca45dd5ce19aa0e346a2fed0cd7066e4faaad0100749c56f7055206541a38e11b9e6cfb9789ef2b2ac04b75 diff --git a/x11-misc/xkb-switch/metadata.xml b/x11-misc/xkb-switch/metadata.xml new file mode 100644 index 0000000..7869e07 --- /dev/null +++ b/x11-misc/xkb-switch/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>azahi@teknik.io</email> + <name>azahi</name> + </maintainer> +</pkgmetadata> 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 +} |