summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Maunier2025-03-11 11:37:09 +0100
committerFlorian Maunier2025-03-11 11:37:09 +0100
commite401fb4101316e3dea593c9d646e80fa83591cb4 (patch)
tree9a5ae44819af5ac1b84de937493f54da9743f98c
parent656dacb48f4ca3c5329d05246f63285fa39e3bb4 (diff)
downloadaur-e401fb4101316e3dea593c9d646e80fa83591cb4.tar.gz
Remove sway-session.target for sway-contrib compat
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aeba320323bb..67231654f6cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sway-systemd
pkgdesc = Systemd integration for Sway session
pkgver = 0.4.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/alebastr/sway-systemd
arch = any
license = custom:MIT
@@ -15,6 +15,7 @@ pkgbase = sway-systemd
depends = python-psutil
depends = python-xlib
depends = python-tenacity
+ depends = sway-contrib
conflicts = sway-services-git
source = sway-systemd::git+https://github.com/alebastr/sway-systemd.git#tag=v0.4.1
sha512sums = 4c1b01e45ae152e221412ea29f5c5fdbe55c17405e23c46ba8d93e15a963f1bb0efa22ab30ccf8f18a3b85f68f9ff005b378c471794449589219ad5238728028
diff --git a/PKGBUILD b/PKGBUILD
index cda1df278897..44240cf99baa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=sway-systemd
pkgver=0.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="Systemd integration for Sway session"
arch=(any)
url="https://github.com/alebastr/sway-systemd"
license=("custom:MIT")
-depends=("python" "sway" "dbus" "python-dbus-next" "python-i3ipc" "python-psutil" "python-xlib" "python-tenacity")
+depends=("python" "sway" "dbus" "python-dbus-next" "python-i3ipc" "python-psutil" "python-xlib" "python-tenacity" "sway-contrib")
makedepends=("git" "meson")
conflicts=("sway-services-git")
source=("sway-systemd::git+https://github.com/alebastr/sway-systemd.git#tag=v${pkgver}")
@@ -28,6 +28,8 @@ check() {
package() {
DESTDIR="$pkgdir" ninja -C build install
+ rm "$pkgdir/usr/lib/systemd/user/sway-session.target"
+
cd "$srcdir/${pkgname%-git}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"