summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2025-01-20 20:17:01 +0100
committerErich Eckner <git@eckner.net>2025-01-20 20:17:01 +0100
commit347c33cee3a54816fea75f3837df79f1a26e2103 (patch)
tree3ff0512abaadc4edaf468aeefb8c3ead9933daba
parent2c829bd00fc6c13fd74c8785ff144129ae85e354 (diff)
downloadarchlinuxewe-347c33cee3a54816fea75f3837df79f1a26e2103.tar.xz
fix some nvchecker.toml upstreams
-rwxr-xr-xget-version-via-pkgver8
-rw-r--r--nvchecker.toml26
2 files changed, 20 insertions, 14 deletions
diff --git a/get-version-via-pkgver b/get-version-via-pkgver
new file mode 100755
index 000000000..59ec5e6c2
--- /dev/null
+++ b/get-version-via-pkgver
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+cd "$(dirname "$(readlink -e "$0")")/$1" || exit $?
+
+makepkg --verifysource >/dev/null 2>&1
+. PKGBUILD
+srcdir=$(pwd)
+pkgver
diff --git a/nvchecker.toml b/nvchecker.toml
index df9eee3c9..9f5bc5456 100644
--- a/nvchecker.toml
+++ b/nvchecker.toml
@@ -4,10 +4,12 @@ newver = "new_ver.json"
keyfile = "keyfile.toml"
[acme2certifier]
-source = "github"
-github = "grindsa/acme2certifier"
-use_latest_tag = "true"
-include_prereleases = "true"
+source = "cmd"
+cmd = "./get-version-via-pkgver acme2certifier"
+
+[alpine]
+source = "cmd"
+cmd = "./get-version-via-pkgver alpine"
[alsi]
source = "github"
@@ -66,9 +68,8 @@ prefix = "v"
use_latest_tag = "true"
[freeminer-git]
-source = "github"
-github = "freeminer/freeminer"
-use_latest_tag = "true"
+source = "cmd"
+cmd = "./get-version-via-pkgver freeminer-git"
[h2o]
source = "git"
@@ -147,15 +148,12 @@ prefix = "v"
use_latest_tag = "true"
[openage-git]
-source = "github"
-github = "SFTtech/openage"
-prefix = "v"
-use_latest_tag = "true"
+source = "cmd"
+cmd = "./get-version-via-pkgver openage-git"
[openttd-git]
-source = "github"
-github = "OpenTTD/OpenTTD"
-use_latest_tag = "true"
+source = "cmd"
+cmd = "./get-version-via-pkgver openttd-git"
[prometheus-bind-exporter]
source = "github"