From cbcfa29853b5207c1321f1c3cb2472e279bbfc58 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 7 Sep 2025 20:50:11 +0300 Subject: [PATCH] Update package version to 1.18.1 --- check-version.sh | 11 +++++++++++ pkg.info | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 check-version.sh diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..2cd9f24 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +URL="ftp://ftp.gnu.org/gnu/automake/" + +# Get version number from FTP server +VERSION=$(curl -s --list-only "$URL" | grep -E '^automake-[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?.tar.gz$' | cut -d '-' -f2 | sort -V | tail -n1) + +# Remove '.tar.gz' suffix from VERSION variable +VERSION=${VERSION//.tar.gz/} + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index ace1313..db2f2ae 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,9 @@ name: automake description: GNU automatic Makefile creation tool -version: 1.17 +version: 1.18.1 url: https://www.gnu.org/software/automake/ license: GPL2-or-later architecture: any -depends: ["perl","autoconf"] -make_depends: ["flex","gettext","pkgconf"] +depends: ["perl"] +make_depends: ["autoconf","flex","gettext","pkgconf"] type: source