mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 04:44:57 +02:00
35 lines
888 B
Text
35 lines
888 B
Text
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=joker
|
|
pkgver=1.5.0
|
|
pkgrel=0
|
|
pkgdesc="Small Clojure interpreter, linter and formatter written in Go"
|
|
url="https://joker-lang.org/"
|
|
# armhf, armv7, x86: tests fail
|
|
arch="all !armhf !armv7 !x86"
|
|
license="EPL-1.0"
|
|
makedepends="go"
|
|
checkdepends="bash"
|
|
source="https://github.com/candid82/joker/archive/v$pkgver/joker-$pkgver.tar.gz"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
go generate -v ./...
|
|
go vet -v ./...
|
|
go build -v
|
|
}
|
|
|
|
check() {
|
|
./all-tests.sh
|
|
}
|
|
|
|
package() {
|
|
install -Dvm755 joker -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
3c404ef65a618646cd6763b8d80e28786a42242c3454856e9d9d250890ac7333da0267bc3d592275350fde194a920b31c405e2f2d7dc4a179b331d2ee8748b57 joker-1.5.0.tar.gz
|
|
"
|