summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShinyzenith2022-03-25 21:24:20 +0530
committerShinyzenith2022-03-25 21:24:20 +0530
commit3f35ee572892d5cb90e9c1a5faccef3b347a40c4 (patch)
tree6516a0c162c59e2c3441a44ddc2dc0f506c643b7
parent6797d31b08680107adab5a8c0e7c14a6bb1c59c3 (diff)
downloadaur-3f35ee572892d5cb90e9c1a5faccef3b347a40c4.tar.gz
[update]
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c76ad71a5023..c547389dd74c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = swhkd-git
pkgdesc = A display server independent hotkey daemon inspired by sxhkd.
- pkgver = 2
- pkgrel = 3
+ pkgver = 1.1.7.480.ge4a1a89
+ pkgrel = 1
url = https://github.com/waycrate/swhkd
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 0f55c96638a4..3a12a66d6595 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Aakash Sharma <aakashsensharma@gmail.com>
pkgname='swhkd-git'
_pkgname="swhkd"
-pkgver=2
-pkgrel=3
+pkgver=1.1.7.480.ge4a1a89
+pkgrel=1
arch=('x86_64')
url="https://github.com/waycrate/swhkd"
pkgdesc="A display server independent hotkey daemon inspired by sxhkd."
@@ -23,9 +23,12 @@ package() {
cd "$_pkgname"
install -Dm 755 ./bin/swhkd "$pkgdir/usr/bin/swhkd"
install -Dm 755 ./bin/swhks "$pkgdir/usr/bin/swhks"
- install -Dm 644 ./00-swhkd.rules "$pkgdir/etc/polkit-1/rules.d/00-swhkd.rules"
- chmod 750 "$pkgdir/etc/polkit-1/rules.d/00-swhkd.rules"
- chown 0:102 "$pkgdir/etc/polkit-1/rules.d/00-swhkd.rules"
+ install -Dm 644 ./com.github.swhkd.pkexec.policy "$pkgdir/usr/share/polkit-1/actions/com.github.swhkd.pkexec.policy"
+ install -dm700 "$pkgdir/etc/swhkd/runtime"
+ chown root:root "$pkgdir/etc/swhkd/runtime"
+ chmod 700 "$pkgdir/etc/swhkd/runtime"
+ chmod 644 "$pkgdir/usr/share/polkit-1/actions/com.github.swhkd.pkexec.policy"
+ chown root:root "$pkgdir/etc/swhkd/runtime"
}
pkgver() {