diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..f389588 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Gitlab repository +REPO="xfce/xfce4-session" + +# Replace slash with URL encoded representation +REPO=$(echo "$REPO" | sed 's|/|%2F|g') + +# Get tag name using Gitlab Rest API +TAG_NAME=$(curl -s -L https://gitlab.xfce.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | cut -d'-' -f3 | grep -v 'pre' | sort -V | tail -n1) + +echo "$TAG_NAME" diff --git a/pkg.info b/pkg.info index 23b150f..fd95208 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,10 @@ name: xfce4-session description: Session manager for Xfce -version: 4.18.3 +version: 4.20.3 url: https://docs.xfce.org/xfce/xfce4-session/start license: GPL2-or-later architecture: any -depends: ["hicolor-icon-theme","libsm","libwnck","libxfce4ui","polkit","polkit-gnome","xfconf","xorg-iceauth","xorg-xinit","xorg-xrdb"] -optional_depends: ["gnome-keyring"] -make_depends: ["glib","intltool"] +depends: ["gtk-layer-shell","hicolor-icon-theme","libsm","libwnck","libxfce4ui","libxfce4windowing","polkit","polkit-gnome","xfconf","xorg-iceauth","xorg-xinit","xorg-xrdb"] +optional_depends: ["gnome-keyring","labwc"] +make_depends: ["glib"] type: source