From 42f668116d5c62752d006e2386c5cd365c2041d0 Mon Sep 17 00:00:00 2001 From: icp Date: Sat, 17 Dec 2022 20:47:54 +0530 Subject: [PATCH] joker: update to 1.1.0. --- srcpkgs/joker/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/joker/template b/srcpkgs/joker/template index 2682f33a5dfa..17bcc859153e 100644 --- a/srcpkgs/joker/template +++ b/srcpkgs/joker/template @@ -1,6 +1,6 @@ # Template file for 'joker' pkgname=joker -version=0.14.1 +version=1.1.0 revision=1 build_style=go go_import_path=github.com/candid82/joker @@ -8,19 +8,22 @@ short_desc="Interpreted dialect of Clojure written in Go and Clojure(Script) lin maintainer="Dominic Monroe " license="EPL-1.0" homepage="https://joker-lang.org/" -distfiles="https://github.com/candid82/joker/archive/v${version}.tar.gz" -checksum=c14789a091d38f7c9373705e9dc9edd24ab6c3c877f83788db4a0b14ebef26ef +distfiles="https://github.com/candid82/joker/archive/refs/tags/v${version}.tar.gz" +checksum=a963d8a3f1361143e33e0fa2463650173095cbf2e4593463007f32f4a81d3e57 if [ "$CROSS_BUILD" ]; then + if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then + broken="https://github.com/candid82/joker#cross-platform-builds" + fi hostmakedepends+=" joker" fi pre_build() { JOKER="joker" + CGO_ENABLED=0 GOARCH= go generate ./... if [ -z "$CROSS_BUILD" ]; then JOKER="../joker" - go generate ./... go build fi