Update package version to 4.20.2
This commit is contained in:
@@ -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"
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user