summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wagie2020-07-27 09:31:12 -0600
committerMark Wagie2020-07-27 09:31:12 -0600
commit9ec711bb4e34ea2f563d4036dbf24d7190607bc0 (patch)
treee1bfbcfbfed7e923bf01b202d257f15efb5d1704
parentb1abaad53338c1491de2db80a33c98a4bbba48f1 (diff)
downloadaur-9ec711bb4e34ea2f563d4036dbf24d7190607bc0.tar.gz
minor adjustments
-rw-r--r--PKGBUILD6
1 files changed, 0 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6cf56e8d018..65526bc0010 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,9 +17,6 @@ prepare() {
mkdir -p gopath/src/github.com/isacikgoz
ln -rTsf "${pkgname%++}-$pkgver" "gopath/src/github.com/isacikgoz/${pkgname%++}"
- # Prevent creation of a `go` directory in one's home.
- # Sometimes this directory cannot be removed with even `rm -rf` unless
- # one becomes root or changes the write permissions.
export GOPATH="$srcdir/gopath"
go clean -modcache
@@ -36,9 +33,6 @@ build() {
-buildmode=pie \
-ldflags "-extldflags \"${LDFLAGS}\"" \
-o $pkgname .
-
- # Clean now to ensure makepkg --clean works
- go clean -modcache
}
package() {