joker: update to 1.1.0.

This commit is contained in:
icp 2022-12-17 20:47:54 +05:30 committed by Duncan Overbruck
parent 8036de1c63
commit 7f56cd412a

View File

@ -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 <monroef4@googlemail.com>"
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