diff --git a/PKGBUILD b/PKGBUILD index dc87950..f85336f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Vincent.Ducamps pkgname=gnome-shell-extension-pop-shell-git pkgdesc="Pop Shell - Tiling window management in Gnome (WIP)" -pkgver=r555.5c93ca0 +pkgver=r576.fd2380c pkgrel=1 _gitorg=pop-os _gitname=shell @@ -10,6 +10,7 @@ arch=(any) url="https://github.com/pop-os/shell" license=("GPLv3") install="pop-shell.install" +optdepends=('gnome-shell-extensions: native-window extension for improved window placement') conflicts=("gnome-shell-extension-pop-shell") makedepends=("typescript" "git") depends=("gnome-shell" "pop-shell-shortcuts-git") @@ -19,6 +20,11 @@ _dir="${_gitname}" source=("${_dir}::git+https://github.com/${_gitorg}/${_gitname}.git#branch=${_gitbranch}") sha256sums=("SKIP") +if [[ $(echo $XDG_SESSION_TYPE) = x11 ]]; then + depends+=('dbus-x11') +elif [[ $(echo $XDG_SESSION_TYPE) = wayland ]]; then + depends+=('dbus') +fi pkgver() { cd "${srcdir}/${_dir}"