Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c59cd479af
|
||
|
|
221e796ca1
|
+4
-1
@@ -6,7 +6,10 @@ REPO="xfce/thunar"
|
||||
# Replace slash with URL encoded representation
|
||||
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
|
||||
|
||||
# Get XFCE version
|
||||
XFCE_VERSION=$(bpm q -d xfce4 | grep '^Version: ' | cut -d' ' -f2 | cut -d'-' -f1)
|
||||
|
||||
# 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'-' -f2 | grep -v 'pre' | sort -V | tail -n1)
|
||||
TAG_NAME=$(curl -s -L https://gitlab.xfce.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | cut -d'-' -f2 | grep "^${XFCE_VERSION}" | head -n1)
|
||||
|
||||
echo "$TAG_NAME"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: thunar
|
||||
description: A modern file manager for the Xfce Desktop Environment
|
||||
version: 4.20.4
|
||||
revision: 3
|
||||
version: 4.20.6
|
||||
revision: 1
|
||||
url: https://docs.xfce.org/xfce/thunar/start
|
||||
license: GPL2-or-later,LGPL2.1-only
|
||||
architecture: any
|
||||
@@ -18,6 +18,7 @@ depends:
|
||||
- pcre2
|
||||
optional_depends:
|
||||
- gvfs
|
||||
- thunar-archive-plugin
|
||||
- thunar-volman
|
||||
- tumbler
|
||||
make_depends:
|
||||
@@ -30,4 +31,4 @@ downloads:
|
||||
- url: https://gitlab.xfce.org/xfce/thunar/-/archive/thunar-${BPM_PKG_VERSION}/thunar-thunar-${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 951a4da7b0861a8363699c31850334e8abd355ea52559c10fc1df512ea543df0
|
||||
checksum: 161f49b6f3698ad051905ffcaaf9979b414dc50581aa3536b98a73296998c2b1
|
||||
|
||||
Reference in New Issue
Block a user