From c6237708c12f0a62bff9690f212d3e8c0d469e6a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 8 Sep 2025 16:48:47 +0300 Subject: [PATCH] Update package version to 4.20.2 --- check-version.sh | 12 ++++++++++++ pkg.info | 4 ++-- source.sh | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..b20ee49 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Gitlab repository +REPO="xfce/xfce4-settings" + +# 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 6a970cd..7afaa95 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,10 @@ name: xfce4-settings description: Settings manager for the Xfce desktop environment -version: 4.18.4 +version: 4.20.2 url: https://docs.xfce.org/xfce/xfce4-settings/start license: GPL2-or-later architecture: any depends: ["exo","garcon","libcanberra","libnotify","libxfce4ui","libxklavier","xfconf"] optional_depends: ["cups","python3"] -make_depends: ["glib","intltool","libinput"] +make_depends: ["glib","libinput"] type: source diff --git a/source.sh b/source.sh index 3813e7c..d3c04df 100644 --- a/source.sh +++ b/source.sh @@ -15,7 +15,7 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - ./configure --prefix=/usr --sysconfdir=/etc + ./configure --prefix=/usr --sysconfdir=/etc --disable-debug --enable-maintainer-mode make } @@ -24,5 +24,5 @@ build() { package() { make DESTDIR="$BPM_OUTPUT" install - install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfce4-settings/COPYING + install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/libxfce4ui/COPYING }