mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/variant: remove
Use `go-task` instead.
This commit is contained in:
parent
eae78d31f4
commit
8f22ad1a44
@ -1,33 +0,0 @@
|
||||
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
||||
pkgname=variant
|
||||
pkgver=0.38.0
|
||||
pkgrel=11
|
||||
pkgdesc="Tool to build CLI applications in YAML"
|
||||
url="https://github.com/mumoshu/variant"
|
||||
arch="all"
|
||||
license="Apache-2.0"
|
||||
makedepends="go"
|
||||
checkdepends="bash"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/mumoshu/variant/archive/refs/tags/v$pkgver.tar.gz"
|
||||
|
||||
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
||||
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
||||
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
||||
|
||||
build() {
|
||||
go build -v \
|
||||
-o bin/$pkgname \
|
||||
-ldflags "-X github.com/mumoshu/variant/pkg/cli/version.VERSION=$pkgver"
|
||||
}
|
||||
|
||||
check() {
|
||||
go test ./...
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 bin/$pkgname -t "$pkgdir"/usr/bin/
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
75c5c3834ab3db6df39eeed29c161b9e6342c1c43dc396a8024531f87fb5487d6c86516bfc7874954c7b9d0d7024b0fcc1fa0f6f8347d23b7cd8606e293fab8d variant-0.38.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user