Skip to content
Snippets Groups Projects
Commit 581174ea authored by Kevin Daudt's avatar Kevin Daudt :computer:
Browse files

community/go-task: upgrade to 3.42.0

parent 0382f854
No related branches found
No related tags found
1 merge request!80933community/go-task: upgrade to 3.42.0
Pipeline #305439 skipped
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=go-task
pkgver=3.40.0
pkgrel=3
pkgver=3.42.0
pkgrel=0
pkgdesc="Task runner written in Go, installed as go-task"
url="https://taskfile.dev/"
arch="all"
license="MIT"
makedepends="go"
checkdepends="gotestfmt"
subpackages="
$pkgname-doc
$pkgname-task::noarch
......@@ -15,23 +16,19 @@ subpackages="
$pkgname-fishcomp::noarch
$pkgname-zshcomp::noarch
"
options="net"
options="net" # go dependencies
source="$pkgname-$pkgver.tar.gz::https://github.com/go-task/task/archive/refs/tags/v$pkgver.tar.gz
completion-rename-to-go-task.patch
"
builddir="$srcdir/task-$pkgver"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v -ldflags="-X main.version=$pkgver" github.com/go-task/task/v3/cmd/task
}
check() {
go build -o bin/ ./cmd/sleepit
go test -v ./...
go test -json -v ./... | tee test.log | gotestfmt -showteststatus -hide empty-packages
}
package() {
......@@ -57,6 +54,6 @@ task() {
}
sha512sums="
e30eab6f42752ad64dd70e384076fa748df0411b24d57d0ac824dd3af508d6f577bdbadf97f99ff6d1f317823b7fb9a8daa5d8aea86ceb44d9b06eff45d36fa9 go-task-3.40.0.tar.gz
daa0ee0e6ce1cf3aa80b28c62d50d8dfc06a4f55b9cf78ee356dbf10ccae7d95dd2f3a509fc6d11517e2b316eb4f9e2be2c8ffc0ea6b3fe1a38a7f5abd97bc75 go-task-3.42.0.tar.gz
6b0be68bc8ab4e5761f09d5928cdc7f85228c5b6f59e6fdccd29dcfbca096a82387f568931f2dc023ce8f2127ac1797b8f02364399a6768b482d45e0794bada1 completion-rename-to-go-task.patch
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment