From e93dc321327c85740eee96acb6e9f30d2f82fca3 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 16 Sep 2025 15:11:23 +0300 Subject: [PATCH] Update package version to 5.2.2 --- check-version.sh | 15 +++++++++++++++ pkg.info | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..e285d95 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +# Sourceforge project +REPO="giflib" + +# Get version using best_release.json +VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq -r '.platform_releases.linux.filename') + +# Remove prefix +VERSION=${VERSION//\/giflib-/} + +# Remove suffix +VERSION=${VERSION//.tar.gz/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index cba84fe..717448d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: giflib description: GIF image manipulation library -version: 5.2.1 +version: 5.2.2 url: http://giflib.sourceforge.net/ license: MIT architecture: any