mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Signed-off-by: madomado <madonuko@outlook.com>
(cherry picked from commit 886c8cb028)
Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -1,25 +1,25 @@
|
||||
Name: keyd
|
||||
Version: 2.4.3
|
||||
Release: 3%?dist
|
||||
Version: 2.5.0
|
||||
Release: 1%?dist
|
||||
Summary: Key remapping daemon for linux
|
||||
URL: https://github.com/rvaiya/keyd
|
||||
License: MIT
|
||||
Source0: %url/archive/refs/tags/v%version.tar.gz
|
||||
Suggests: python3 python3-xlib
|
||||
BuildRequires: gcc mold make kernel-headers systemd-rpm-macros
|
||||
BuildRequires: gcc mold make kernel-headers systemd-rpm-macros git-core
|
||||
|
||||
%description
|
||||
keyd provides a flexible system wide daemon which remaps keys using kernel
|
||||
level input primitives (evdev, uinput).
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
rm -rf ./*
|
||||
git clone --depth 1 -b v%version %url .
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%make_install PREFIX=%_prefix
|
||||
install -Dm644 keyd.service %buildroot%_unitdir/keyd.service
|
||||
|
||||
%post
|
||||
|
||||
Reference in New Issue
Block a user