dev-vcs/sourcegit-bin bump version to 8.36
[gentoo-zh.git] / app-misc / keyd / keyd-2.4.3.ebuild
blobb9030e9281f141a699b7481ecb016b5c548cb0d1
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 DEPEND="acct-group/keyd"
16 RDEPEND="$DEPEND"
18 src_prepare() {
19         sed -i "/-groupadd keyd/d" Makefile || die
20         default
23 src_install() {
24         default
25         rm -r "${D}"/usr/share/{man,doc} || die
26         dodoc docs/{CHANGELOG.md,DESIGN.md}
27         systemd_dounit keyd.service
28         insinto /etc/keyd
29         doins "${FILESDIR}"/default.conf
30         gzip -d data/{keyd,keyd-application-mapper}.1.gz || die
31         doman data/{keyd,keyd-application-mapper}.1