Package Details: kmonad-bin 0.4.2-1

Git Clone URL: https://aur.archlinux.org/kmonad-bin.git (read-only, click to copy)
Package Base: kmonad-bin
Description: An advanced keyboard manager - static binary version
Upstream URL: https://github.com/kmonad/kmonad
Licenses: MIT
Conflicts: kmonad
Provides: kmonad
Submitter: Bonnee
Maintainer: Bonnee
Last Packager: Bonnee
Votes: 8
Popularity: 1.21
First Submitted: 2020-10-04 21:09 (UTC)
Last Updated: 2023-10-15 13:51 (UTC)

Latest Comments

1 2 Next › Last »

m040601 commented on 2024-03-21 11:32 (UTC) (edited on 2024-03-21 11:56 (UTC) by m040601)

Thanks for the work maintaining this PKGBUILD. These "xxx-bin" PKGBUILDs are very, very usefull, for those of us who dont want to download gigabytes of Haskell or Rust just to compile it yourself.

Here are some suggested corrections and requests to this PKGBUILD.

$ pacman -Ql kmonad-bin

kmonad-bin /usr/
kmonad-bin /usr/bin/
kmonad-bin /usr/bin/kmonad
kmonad-bin /usr/lib/
kmonad-bin /usr/lib/systemd/
kmonad-bin /usr/lib/systemd/system/
kmonad-bin /usr/lib/systemd/system/kmonad@.service
kmonad-bin /usr/share/
kmonad-bin /usr/share/doc/
kmonad-bin /usr/share/doc/kmonad-bin/
kmonad-bin /usr/share/doc/kmonad-bin/faq.md
kmonad-bin /usr/share/doc/kmonad-bin/keymap/
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/apple.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/atreus.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/freestyle2.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/iso_100.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/iso_60.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/iso_tkl.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/thinkpad_T430_iso.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/thinkpad_x220_iso.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/us_ansi_100.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/us_ansi_60.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/template/us_ansi_tkl.kbd
kmonad-bin /usr/share/doc/kmonad-bin/keymap/tutorial.kbd
kmonad-bin /usr/share/licenses/
kmonad-bin /usr/share/licenses/kmonad-bin/
kmonad-bin /usr/share/licenses/kmonad-bin/LICENSE

You are creating a folder named "kmonad-bin" inside "/usr/share/doc" and "/usr/share/licenses".

This is not correct. The folders should be simply called "kmonad", according to the Arch/AUR guide lines.

You should not be creating one called "kmonad-bin" for the PKGBUILD "kmonad-bin", or a folder called "kmonad-git" for the PKGBUILD "kmonad-git", etc.

These things are handled with the PKGBUILD tags, "Provides: xyz", "Conflicts: abc".

Now for some missing docs.

$ wget https://github.com/kmonad/kmonad/archive/0.4.2.tar.gz

$ tar tf 0.4.2.tar.gz

kmonad-0.4.2/
....
kmonad-0.4.2/CONTRIBUTING.md
.....
.....
kmonad-0.4.2/README.md
..........
kmonad-0.4.2/changelog.md
.........
kmonad-0.4.2/doc/
kmonad-0.4.2/doc/faq.md
kmonad-0.4.2/doc/installation.md
kmonad-0.4.2/doc/module_structure.md
kmonad-0.4.2/doc/quick-reference.md
..........
kmonad-0.4.2/keymap/testing.kbd
...........

Why specifically throw away those tiny, simple, small markdown files to the the trash ?

That "changelog.md" file for example is extremely usefull for following a project of this complexity.

Please make sure they all also end up in

/usr/share/doc/kmonad/xyz ...

Thanks in advance.

Bonnee commented on 2022-02-28 11:40 (UTC)

I temporarily backported the systemd service file from the current master branch (commit 3c728e86e5e7a8f488ca3b07ecbc2adc1dd36d61)

galaux commented on 2022-02-27 17:29 (UTC)

Thanks for this package. Too bad the Systemd service file is missing. Could this maybe be fixed in a -2 version … ?

Bonnee commented on 2022-02-01 22:44 (UTC)

Unfortunately the systemd service file is not part of the 0.4.1 release. As soon as a new version is released I will update the PKGBUILD.

soraxas commented on 2022-01-29 14:38 (UTC)

Can you install the sys service file as well? (i.e., https://github.com/kmonad/kmonad/blob/master/startup/kmonad.service) Thanks!

jose1711 commented on 2022-01-02 23:41 (UTC)

Thank you for including docs and template. As for the group, the most common thing is to list instructions for user in the .install file - adding group directly is discouraged.

Bonnee commented on 2022-01-02 15:48 (UTC)

I added the tutorial and template keymaps to /usr/share/doc. Thanks for the suggestion!

As for uinput, The docs say that uinput group is needed for this to work. Is adding groupadd uinput in the PKGBUILD enough to create the group without messing something up? The user must add itself to the group though. Suggestions?

jose1711 commented on 2021-12-20 23:30 (UTC)

hmm... maybe add example keymaps to /usr/share/doc? oh, and thanks for maintaining!

magnus commented on 2021-12-19 22:00 (UTC)

Are the UDEV file for /dev/uinput and the uinput group needed?

If so, would it make sense to include the file in the package and create the group if it doesn't exist?

Bonnee commented on 2021-05-18 08:09 (UTC)

@zaargh thanks for the heads-up. Fixed it!