Package Details: doors-git 0-1

Git Clone URL: https://aur.archlinux.org/doors-git.git (read-only, click to copy)
Package Base: doors-git
Description: Wayland compositor inspired by bspwm
Upstream URL: https://dawn.wine/CreeperFace/doors
Keywords: bspwm doors wayland wlroots
Licenses: GPL3
Provides: wayland-compositor
Submitter: dy-tea
Maintainer: dy-tea
Last Packager: dy-tea
Votes: 0
Popularity: 0.000000
First Submitted: 2026-07-31 13:21 (UTC)
Last Updated: 2026-07-31 13:21 (UTC)

Dependencies (21)

Required by (5)

Sources (3)

Latest Comments

agoramachina commented on 2026-09-05 03:54 (UTC) (edited on 2026-09-05 03:55 (UTC) by agoramachina)

Since makepkg just sources the PKGBUILD and pacman only executes scriptlets from a separate file declared via install=, the post_install() and post_upgrade() functions defined in the PKGBUILD never run. As a result the package installs with Install Script: No and /usr/bin/doors runs without CAP_SYS_NICE

Suggested patch:

diff --git a/PKGBUILD b/PKGBUILD
index bd9bff2..c85b25b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,6 +30,7 @@ depends=(
 )
 makedepends=(git perl meson ninja wayland-protocols vulkan-headers linux-api-headers)
 provides=('wayland-compositor')
+install=doors-git.install
 source=("git+https://dawn.wine/CreeperFace/doors.git#branch=master" "doors-portals.conf" "doors-session.target")
 sha512sums=("SKIP" "ac8d23f5ace35b77c55e00e26976e8981f53e31b10ff1df717bc26acba3567e79d4b477bc8b60d0f83e0ca8d18ab4f42840a8e7734f447cdf525460510bc1063" "9bbd5bea647f983884ff92871b17a5cab68e6d46c0d465d859e49be61f6e31c171bb2916665c1b1dcd61988edc76f7b41a051ec35ac3d13aa45c393a0fe746ac")

@@ -52,11 +53,3 @@ package() {
   install -Dm644 doors-portals.conf "$pkgdir/usr/share/xdg-desktop-portal/doors-portals.conf"
   install -Dm644 doors-session.target "$pkgdir/usr/lib/systemd/user/doors-session.target"
 }
-
-post_install() {
-   setcap cap_sys_nice+ep usr/bin/doors
-}
-
-post_upgrade() {
-   setcap cap_sys_nice+ep usr/bin/doors
-}
diff --git a/doors-git.install b/doors-git.install
new file mode 100644
index 0000000..a20c1ff
--- /dev/null
+++ b/doors-git.install
@@ -0,0 +1,7 @@
+post_install() {
+   setcap cap_sys_nice+ep usr/bin/doors
+}
+
+post_upgrade() {
+   setcap cap_sys_nice+ep usr/bin/doors
+}

Tested locally: after this change pacman -Qi doors-git shows Install Script: Yes and getcap /usr/bin/doors reports cap_sys_nice=ep

.SRCINFO needs a regen too--the AUR page currently shows stale license/deps and install= won't display without it. Can be fixed with makepkg --printsrcinfo > .SRCINFO