diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ pkgbase = gnome-shell-extension-dash-to-dock-git makedepends = git depends = dconf depends = gnome-shell - provides = gnome-shell-extension-dash-to-dock=53.r0.g1452801 + provides = gnome-shell-extension-dash-to-dock=53 conflicts = gnome-shell-extension-dash-to-dock source = gnome-shell-extension-dash-to-dock::git+https://github.com/micheleg/dash-to-dock/ md5sums = SKIP @@ -84,7 +84,7 @@ package_20_version() { tr '\n," ' '\n' | sed 's/3\.//g;/^$/d' | sort -n -t. -k 1,1)) depends+=("gnome-shell>=3.${compatibles[0]}") local max="${compatibles[-1]}" - if [ "3.$max" != $( + if [ "$max" != $( gnome-shell --version | grep -Po '(?<=GNOME Shell 3\.)[[:digit:]]+' ) ]; then depends+=("gnome-shell<3.$((${max%%.*} + 1))") |