testing/variant: remove

Use `go-task` instead.
This commit is contained in:
Hoang Nguyen 2023-12-12 00:00:00 +07:00 committed by Patrycja Rosa
parent eae78d31f4
commit 8f22ad1a44

View File

@ -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
"