Date: Tuesday, May 9, 2023 @ 21:46:59
Author: grawlinson
Revision: 1459676
upgpkg: hound 0.7.1-1; new upstream release & debug
Modified:
hound/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-09 21:46:02 UTC (rev 1459675)
+++ PKGBUILD 2023-05-09 21:46:59 UTC (rev 1459676)
@@ -4,7 +4,7 @@
# Contributor: Jelle van der Waa
pkgname=hound
-pkgver=0.6.0
+pkgver=0.7.1
pkgrel=1
pkgdesc='Lightning fast code searching made easy'
arch=('x86_64')
@@ -19,7 +19,7 @@
)
options=('!lto')
install=hound.install
-_commit='61620be350f0622ae0ae3cb77df890307d23d2bb'
+_commit='b39c3e72f5eb23d5abbf704e6fde5f9b5f160ed4'
source=(
"$pkgname::git+$url#commit=$_commit"
'systemd.service'
@@ -48,6 +48,7 @@
mkdir build
# download dependencies
+ export GOPATH="${srcdir}"
go mod download
}
@@ -58,13 +59,15 @@
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOPATH="${srcdir}"
go build -v \
- -trimpath \
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
+ -ldflags "-compressdwarf=false \
+ -linkmode external \
+ -extldflags ${LDFLAGS}" \
-o build \
./cmds/...
}