Date: Thursday, May 11, 2023 @ 07:22:05 Author: grawlinson Revision: 1459881
upgpkg: lf 29-1; new upstream release & enable debug package Modified: lf/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-05-11 07:21:51 UTC (rev 1459880) +++ PKGBUILD 2023-05-11 07:22:05 UTC (rev 1459881) @@ -5,7 +5,7 @@ # Contributor: Stefan Husmann <[email protected]> pkgname=lf -pkgver=28 +pkgver=29 pkgrel=1 pkgdesc='A terminal file manager inspired by ranger' arch=('x86_64') @@ -14,7 +14,7 @@ depends=('glibc') makedepends=('git' 'go') options=('!lto') -_commit='b47cf6d5a525c39db268c2f7b77e2b7497843b17' +_commit='2c86577b953d91ba8190843b665e5ce18d95db04' source=("$pkgname::git+$url#commit=$_commit") b2sums=('SKIP') @@ -31,6 +31,7 @@ mkdir build # download dependencies + export GOPATH="${srcdir}" go mod download } @@ -41,13 +42,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} \ -X main.gVersion=$pkgver" \ -o build \ .
