testing/autobrr: add go cache variables

This commit is contained in:
Fabricio Silva 2023-05-06 00:08:14 +00:00 committed by psykose
parent 75528d8dc4
commit ddbbbe036f

View File

@ -2,7 +2,7 @@
# Maintainer: Fabricio Silva <hi@fabricio.dev>
pkgname=autobrr
pkgver=1.25.0
pkgrel=0
pkgrel=1
pkgdesc="The modern download automation tool for torrents"
url="https://autobrr.com/"
arch="x86_64 aarch64 armv7"
@ -17,6 +17,11 @@ source="
autobrr.confd
"
export CGO_ENABLED=0
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
prepare() {
default_prepare