dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / app-misc / keyd / keyd-2.5.0.ebuild
blobf805631cfd3a561433016adbcb884eaf0c2ad72a
1 # Copyright 2024 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 # prevent docs from being installed to /usr/local/share/doc
26 rm -r "${D}"/usr/local/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