Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: capsfix-git #6867

Merged
merged 3 commits into from
Jan 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ btrfs-du-bin
cachyos-ananicy-rules-git
cantata
caprine-deb
capsfix-git
cbindgen
celeste-bin
cheat
Expand Down
11 changes: 11 additions & 0 deletions packages/capsfix-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
pkgbase = capsfix-git
gives = capsfix
pkgver = 0.0.1
pkgdesc = Fix the nuisance of Caps Lock disable not toggling until key release
arch = all
depends = perl
depends = x11-xkb-utils
maintainer = Oren Klopfer <[email protected]>
source = https://github.com/oklopfer/capsfix.git

pkgname = capsfix-git
18 changes: 18 additions & 0 deletions packages/capsfix-git/capsfix-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
pkgname="capsfix-git"
source=("https://github.com/oklopfer/capsfix.git")
arch=("all")
pkgver="0.0.1"
gives="capsfix"
depends=("perl" "x11-xkb-utils")
pkgdesc="Fix the nuisance of Caps Lock disable not toggling until key release"
maintainer=("Oren Klopfer <[email protected]>")

package() {
cd "${gives}"
install -Dm755 "${gives}" -t "${pkgdir}/usr/bin"
}

post_remove() {
sudo rm -f "${homedir}/.config/autostart/capsfix.desktop"
sudo rm -f "${homedir}/.config/xkb_caps_backup"
}
12 changes: 12 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,18 @@ pkgbase = caprine-deb

pkgname = caprine-deb
---
pkgbase = capsfix-git
gives = capsfix
pkgver = 0.0.1
pkgdesc = Fix the nuisance of Caps Lock disable not toggling until key release
arch = all
depends = perl
depends = x11-xkb-utils
maintainer = Oren Klopfer <[email protected]>
source = https://github.com/oklopfer/capsfix.git

pkgname = capsfix-git
---
pkgbase = cbindgen
pkgver = 0.27.0
pkgdesc = A tool for generating C bindings to Rust code
Expand Down
Loading