From 3e9727dfbc47f4414674d3bd5305c92049b95cdc 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 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/joker/template b/srcpkgs/joker/template index 10bf26db0b17..14f4996daa29 100644 --- a/srcpkgs/joker/template +++ b/srcpkgs/joker/template @@ -1,26 +1,29 @@ # Template file for 'joker' pkgname=joker -version=0.14.1 -revision=2 +version=1.1.0 +revision=1 build_style=go go_import_path=github.com/candid82/joker short_desc="Interpreted dialect of Clojure written in Go and Clojure(Script) linter" 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