summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorElias Werberich2021-09-17 16:55:50 +0200
committerElias Werberich2021-09-17 16:55:50 +0200
commit7e07b31ceb99395e9f7d0e85b89fd3bbbad51cf0 (patch)
tree2b9ee4a30fcc20ac3cfb23eabef8d61ccfe41d48
parentae00aa4302baed049a3351206be1ba3bc490c73e (diff)
downloadaur-7e07b31ceb99395e9f7d0e85b89fd3bbbad51cf0.tar.gz
Ensure mod cache is created with read-write permissions
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 29de08123df..28873addd6c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = changie
pkgdesc = Automated changelog tool for preparing releases with lots of customization options.
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
epoch = 0
url = https://github.com/miniscruff/changie
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 57fc82c418d..73d99770196 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=changie
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
epoch=0
pkgdesc="Automated changelog tool for preparing releases with lots of customization options."
arch=('x86_64')
@@ -36,6 +36,7 @@ build() {
CGO_ENABLED=0 \
GOPATH="$srcdir" \
go build \
+ -modcacherw \
-o "$srcdir/changie" \
-gcflags "all=-trimpath=$srcdir" \
-asmflags "all=-trimpath=$srcdir" \