summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 4 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b10e4a62c08..85d36b363963 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = zig-master-bin
pkgdesc = robust, optimal, and clear programming language
- pkgver = 0.8.0_dev.1712+2f07d76ee
+ pkgver = 0.8.0_dev.2669+ae15281c0
pkgrel = 1
url = https://ziglang.org/
arch = x86_64
@@ -10,8 +10,6 @@ pkgbase = zig-master-bin
makedepends = curl
provides = zig
conflicts = zig
- source = https://ziglang.org/download/index.json
- md5sums = SKIP
pkgname = zig-master-bin
diff --git a/PKGBUILD b/PKGBUILD
index 3de858fc1e9f..02fa8322d305 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,18 @@
# Maintainer: nycex <nycex / cccp.org>
pkgname=zig-master-bin
-pkgver=0.8.0_dev.1712+2f07d76ee
+pkgver=0.8.0_dev.2669+ae15281c0
pkgrel=1
pkgdesc="robust, optimal, and clear programming language"
arch=('x86_64' 'aarch64')
url="https://ziglang.org/"
license=('MIT')
-depends=()
-makedepends=('jq' 'curl')
+depends=('jq' 'curl')
provides=('zig')
conflicts=('zig')
-source=("https://ziglang.org/download/index.json")
-md5sums=('SKIP')
pkgver() {
cd "${srcdir}"
- if build_version="$(jq -r '.master.version' 'index.json' 2>/dev/null)" &&
+ if build_version="$(curl 'https://ziglang.org/download/index.json' | jq -r '.master.version' 2>/dev/null)" &&
[ "${build_version}" != 'null' ]; then
printf '%s' "${build_version//-/_}"