summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornycex2021-05-27 17:30:47 +0200
committernycex2021-05-27 17:32:05 +0200
commit89fe19d8c10398bb094e4e09cb9a113c58a7fb2e (patch)
tree9b91a4e31b654009dc03b3763d9b7a56c1664d39 /PKGBUILD
parente05a393add9ec74143b99a775b8fff5a4d2d53a6 (diff)
downloadaur-zig-master-bin.tar.gz
make this abomination even worse in order to (hopefully) work
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3de858fc1e9..02fa8322d30 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//-/_}"