From 92852413f82f06d6ac2f82ca7cf73bfe2dc2f644 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 6 Aug 2025 19:41:40 +0300 Subject: [PATCH] Update package version to 1.7.9.1 --- check-version.sh | 9 +++++++++ pkg.info | 2 +- source.sh | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..f21916d --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Github repository +REPO="davatorium/rofi" + +# Get tag name using Github Rest API +VERSION=$(curl -s -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name') + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index dfa6ff3..9b03328 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: rofi description: A window switcher, application launcher and dmenu replacement -version: 1.7.5 +version: 1.7.9.1 url: https://github.com/DaveDavenport/rofi license: MIT architecture: any diff --git a/source.sh b/source.sh index bb40ef0..2f5873b 100644 --- a/source.sh +++ b/source.sh @@ -2,7 +2,7 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -DOWNLOAD="https://github.com/DaveDavenport/rofi/releases/download/${BPM_PKG_VERSION}/rofi-${BPM_PKG_VERSION}.tar.xz" +DOWNLOAD="https://github.com/davatorium/rofi/releases/download/${BPM_PKG_VERSION}/rofi-${BPM_PKG_VERSION}.tar.xz" FILENAME="${DOWNLOAD##*/}" # The prepare function is executed in the root of the temp directory