dev-vcs/gitoxide: add 0.27.0, drop 0.26.0
[gentoo-zh.git] / app-misc / keyd / keyd-2.4.3.ebuild
blob8b10d44c6da441ddc0eaa0fb4a609f619b9f7669
1 # Copyright 2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit systemd
8 DESCRIPTION="A key remapping daemon for linux"
9 HOMEPAGE="https://github.com/rvaiya/keyd"
10 SRC_URI="https://github.com/rvaiya/keyd/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
12 LICENSE="MIT"
13 SLOT="0"
14 KEYWORDS="~amd64"
15 RESTRICT="mirror"
16 DEPEND="acct-group/keyd"
17 RDEPEND="$DEPEND"
19 src_prepare() {
20 sed -i "/-groupadd keyd/d" Makefile || die
21 default
24 src_install() {
25 default
26 rm -r "${D}"/usr/share/{man,doc} || die
27 dodoc docs/{CHANGELOG.md,DESIGN.md}
28 systemd_dounit keyd.service
29 insinto /etc/keyd
30 doins "${FILESDIR}"/default.conf
31 gzip -d data/{keyd,keyd-application-mapper}.1.gz || die
32 doman data/{keyd,keyd-application-mapper}.1