mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
joker: update to 1.1.0.
This commit is contained in:
parent
8036de1c63
commit
7f56cd412a
1 changed files with 8 additions and 5 deletions
|
@ -1,26 +1,29 @@
|
||||||
# Template file for 'joker'
|
# Template file for 'joker'
|
||||||
pkgname=joker
|
pkgname=joker
|
||||||
version=0.14.1
|
version=1.1.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=github.com/candid82/joker
|
go_import_path=github.com/candid82/joker
|
||||||
short_desc="Interpreted dialect of Clojure written in Go and Clojure(Script) linter"
|
short_desc="Interpreted dialect of Clojure written in Go and Clojure(Script) linter"
|
||||||
maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
maintainer="Dominic Monroe <monroef4@googlemail.com>"
|
||||||
license="EPL-1.0"
|
license="EPL-1.0"
|
||||||
homepage="https://joker-lang.org/"
|
homepage="https://joker-lang.org/"
|
||||||
distfiles="https://github.com/candid82/joker/archive/v${version}.tar.gz"
|
distfiles="https://github.com/candid82/joker/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=c14789a091d38f7c9373705e9dc9edd24ab6c3c877f83788db4a0b14ebef26ef
|
checksum=a963d8a3f1361143e33e0fa2463650173095cbf2e4593463007f32f4a81d3e57
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
||||||
|
broken="https://github.com/candid82/joker#cross-platform-builds"
|
||||||
|
fi
|
||||||
hostmakedepends+=" joker"
|
hostmakedepends+=" joker"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
JOKER="joker"
|
JOKER="joker"
|
||||||
|
CGO_ENABLED=0 GOARCH= go generate ./...
|
||||||
|
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
JOKER="../joker"
|
JOKER="../joker"
|
||||||
go generate ./...
|
|
||||||
go build
|
go build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue