diff --git a/pkg.info b/pkg.info index d1282af..73f427d 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: micro description: A modern and intuitive terminal-based text editor version: 2.0.14 -revision: 3 +revision: 4 url: https://micro-editor.github.io/ license: MIT architecture: any diff --git a/source.sh b/source.sh index 0991cdd..a66de75 100644 --- a/source.sh +++ b/source.sh @@ -10,6 +10,9 @@ FILENAME="${DOWNLOAD##*/}" prepare() { wget "$DOWNLOAD" tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" + + cd "$BPM_SOURCE" + GOFLAGS="-modcacherw" go mod download } # The build function is executed in the source directory