aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/dunst/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:17:52 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:17:52 +0800
commit0dede68b734c7366d9e0f44d10cb3507ba5e0f33 (patch)
tree49b19194e5dc7f55255751151dcaf8d1fb48bc4a /repos/extra/dunst/abuild
parent376803af43d2d32a80219b8970961792f240230c (diff)
downloadalicelinux-0dede68b734c7366d9e0f44d10cb3507ba5e0f33.tar.gz
alicelinux-0dede68b734c7366d9e0f44d10cb3507ba5e0f33.zip
move out wayland packages to its own repo
Diffstat (limited to 'repos/extra/dunst/abuild')
-rw-r--r--repos/extra/dunst/abuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/repos/extra/dunst/abuild b/repos/extra/dunst/abuild
index 07323734..c9d31842 100644
--- a/repos/extra/dunst/abuild
+++ b/repos/extra/dunst/abuild
@@ -2,9 +2,5 @@ name=dunst
version=1.11.0
release=1
source="https://github.com/$name-project/$name/archive/v$version/$name-$version.tar.gz"
-export WAYLAND=1
-if [ "$(apkg -a ^libx11$)" ]; then
- export X11=1
-else
- export X11=0
-fi
+[ -f $SPM_PKGDB/libx11 ] && export X11=1
+[ -f $SPM_PKGDB/wayland ] || export WAYLAND=0