diff options
Diffstat (limited to 'testing/mage/APKBUILD')
-rw-r--r-- | testing/mage/APKBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/testing/mage/APKBUILD b/testing/mage/APKBUILD index 928098f0a76..6f690acae98 100644 --- a/testing/mage/APKBUILD +++ b/testing/mage/APKBUILD @@ -1,19 +1,21 @@ # Contributor: Mark Pashmfouroush <mark@markpash.me> # Maintainer: Mark Pashmfouroush <mark@markpash.me> pkgname=mage -pkgver=1.12.1 -pkgrel=2 +pkgver=1.13.0 +pkgrel=15 # Commit hash that corresponds to the version -_commit=2f1ec406dfa856a4b8378ef837061abc2a0ce01b +_commit=3504e09d7fcfdeab6e70281edce5d5dfb205f31a pkgdesc="make-like build tool using Go" url="https://magefile.org/" license="Apache-2.0" arch="all" depends="go" -options="chmod-clean" +options="chmod-clean net" source="https://github.com/magefile/mage/archive/v$pkgver/mage-$pkgver.tar.gz" -export GOPATH="$srcdir" +export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" +export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" +export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build -o bin/mage -ldflags=" @@ -24,6 +26,7 @@ build() { } check() { + export GOROOT=/usr/lib/go go vet ./... go test -v -tags CI ./... } @@ -33,5 +36,5 @@ package() { } sha512sums=" -bad85971bd484745a2a4ae1099579311464a18dce27199787d408cafdcfdce918780c3b3f7059e222d4b98a16ee5363e4e095fea9d23702e23b86ba3fed04394 mage-1.12.1.tar.gz +a393a0192ecaf8664f9dd35acfd994993ab1c028a08fb8c925fc569ce58dc9d58baeef4760b012563e3f3a6957c77d548bb33a6b577d12af2e030e2465e6d24b mage-1.13.0.tar.gz " |