-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
43ee645
commit 8c9e862
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## ydotoold fix | ||
## https://github.com/ReimuNotMoe/ydotool/issues/25#issuecomment-535842993 | ||
KERNEL=="uinput", GROUP="input", MODE="0660", OPTIONS+="static_node=uinput" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
exec chpst -u root:input ydotoold --socket-perm 660 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Template file for 'ydotool' | ||
pkgname=ydotool | ||
version=0.2.0 | ||
revision=1 | ||
build_style=cmake | ||
hostmakedepends="git scdoc" | ||
short_desc="Generic command-line automation tool, works on Wayland and X11" | ||
maintainer="noarchwastaken <[email protected]>" | ||
license="AGPL-3.0-or-later" | ||
homepage="https://github.com/ReimuNotMoe/ydotool" | ||
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" | ||
checksum=2311b003d2ff383f3348f17101f0df74f56616d530d66d0a014a52ba85a5dcf1 | ||
|
||
do_install() { | ||
vbin build/ydotool | ||
vbin build/ydotoold | ||
} | ||
|
||
post_install() { | ||
vsv ydotoold | ||
|
||
vinstall ${FILESDIR}/80-uinput.rules 644 usr/lib/udev/rules.d | ||
|
||
scdoc < manpage/ydotool.1.scd > ydotool.1 | ||
scdoc < manpage/ydotoold.8.scd > ydotoold.8 | ||
|
||
vman ydotool.1 | ||
vman ydotoold.8 | ||
|
||
vlicense LICENSE | ||
} |