diff options
author | Shinyzenith | 2022-03-25 21:24:20 +0530 |
---|---|---|
committer | Shinyzenith | 2022-03-25 21:24:20 +0530 |
commit | 3f35ee572892d5cb90e9c1a5faccef3b347a40c4 (patch) | |
tree | 6516a0c162c59e2c3441a44ddc2dc0f506c643b7 | |
parent | 6797d31b08680107adab5a8c0e7c14a6bb1c59c3 (diff) | |
download | aur-3f35ee572892d5cb90e9c1a5faccef3b347a40c4.tar.gz |
[update]
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 10 insertions, 7 deletions
@@ -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 @@ -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() { |