conflicts
should be changed to conflicts=('swhkd')
, and this package should provide the same. Also, make
should not be part of the makedepends
Search Criteria
Package Details: swhkd-git 1.2.1.r17.g022466e-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/swhkd-git.git (read-only, click to copy) |
---|---|
Package Base: | swhkd-git |
Description: | A display server independent hotkey daemon inspired by sxhkd. |
Upstream URL: | https://github.com/waycrate/swhkd |
Keywords: | hotkey tty wayland x11 xorg |
Licenses: | BSD |
Conflicts: | swhkd-musl-git |
Submitter: | Shinyzenith |
Maintainer: | Shinyzenith |
Last Packager: | Shinyzenith |
Votes: | 8 |
Popularity: | 1.53 |
First Submitted: | 2022-02-08 17:21 (UTC) |
Last Updated: | 2022-12-22 17:05 (UTC) |
Dependencies (5)
- polkit (polkit-no-script-git, polkit-git, polkit-consolekit)
- git (git-vfs, git-git, git-run-command-patch-git) (make)
- make (make-git) (make)
- rustup (rustup-git) (make)
- scdoc (scdoc-git) (make)
Required by (0)
Sources (2)
Latest Comments
eclairevoyant commented on 2023-02-16 00:12 (UTC)
qubidt commented on 2022-09-28 17:33 (UTC) (edited on 2022-09-28 17:47 (UTC) by qubidt)
might be nice to add the vim-plugin to the package:
diff --git a/PKGBUILD b/PKGBUILD
index 7560665..c1654ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
_pkgname="swhkd"
pkgname="${_pkgname}-git"
-pkgver=.552.g1b6cf27
-pkgrel=2
+pkgver=1.2.1.r17.g022466e
+pkgrel=1
arch=("x86_64")
url="https://github.com/waycrate/swhkd"
pkgdesc="A display server independent hotkey daemon inspired by sxhkd."
@@ -13,8 +13,10 @@ license=("BSD")
depends=("polkit")
makedepends=("rustup" "make" "git" "scdoc")
conflicts=("swhkd-musl-git")
-source=("${_pkgname}::git+${url}.git")
-sha256sums=("SKIP")
+source=("${_pkgname}::git+${url}.git"
+ "${_pkgname}-vim::git+${url}-vim.git")
+sha256sums=("SKIP"
+ "SKIP")
build(){
cd "$_pkgname"
@@ -31,9 +33,15 @@ package() {
install -Dm 644 ./docs/*.1.gz -t "$pkgdir/usr/share/man/man1/"
install -Dm 644 ./docs/*.5.gz -t "$pkgdir/usr/share/man/man5/"
+
+ cd "${srcdir}/${_pkgname}-vim"
+ for i in ftdetect ftplugin indent syntax; do
+ install -Dm644 "$i/${_pkgname}.vim" \
+ "${pkgdir}/usr/share/vim/vimfiles/$i/${_pkgname}.vim"
+ done
}
pkgver() {
cd $_pkgname
- echo "$(grep "^version =" Cargo.toml|head -n1|cut -d\" -f2|cut -d\- -f1).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+ git describe --long --tags --match'=[0-9]*' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
(also fixed the pkgver
func)
Galicarnax commented on 2022-08-22 17:12 (UTC) (edited on 2022-08-23 08:06 (UTC) by Galicarnax)
Installation is stuck at "Building [=======================> ] 101/103: Simple-Wayland-HotKey-Daemon(build)". Aborting and reinstalling doesn't help, it stops at the same point. No CPU load, no any acitivity, just hangs at this point for at least an hour... (Installing under Wayland/Sway).
UPD: Same happens on another machine with Xorg.
Shinyzenith commented on 2022-05-27 13:55 (UTC)
@skerit No, it's a -git
package so regardless of the version tagged in the PKGBUILD, you're on the latest commit.
skerit commented on 2022-05-27 10:26 (UTC)
The current installed version is actually 1.2.0.517.g04e5125, even though this still says 1.1.7.480.ge4a1a89. Do you have to manually update the version each time there is a commit? :o
Shinyzenith commented on 2022-03-20 09:03 (UTC)
@murlakatamenka Done!
murlakatamenka commented on 2022-03-20 08:12 (UTC) (edited on 2022-03-20 08:16 (UTC) by murlakatamenka)
Current PKGBUILD
breaks permissions of /etc/polkit-1/rules.d
- see polkit's PKGBUILD
Fix them after calling make
:
chmod 750 /etc/polkit-1/rules.d
chown 0:102 /etc/polkit-1/rules.d
Shinyzenith commented on 2022-02-08 17:26 (UTC)
Since this is a git package, please do not mark this as out-of-date unless I forget to update it accordingly for any breaking changes.
Pinned Comments
Shinyzenith commented on 2022-02-08 17:26 (UTC)
Since this is a git package, please do not mark this as out-of-date unless I forget to update it accordingly for any breaking changes.