Date: Wednesday, April 19, 2023 @ 02:33:46
Author: grawlinson
Revision: 1447312
upgpkg: peco 0.5.11-1; new upstream release
Modified:
peco/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-19 02:33:25 UTC (rev 1447311)
+++ PKGBUILD 2023-04-19 02:33:46 UTC (rev 1447312)
@@ -3,8 +3,8 @@
# Contributor: Samuel Walladge <aur at swalladge dot net>
pkgname=peco
-pkgver=0.5.10
-pkgrel=4
+pkgver=0.5.11
+pkgrel=1
pkgdesc='Simplistic interactive filtering tool'
arch=('x86_64')
url='https://github.com/peco/peco'
@@ -12,7 +12,7 @@
depends=('glibc')
makedepends=('git' 'go')
options=('!lto')
-_commit='27cc9100926f7d20ca3efbc1b49d116ef9e90a99'
+_commit='46703dc3aa48838f1f3c3d7d7c96a452914fb456'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
@@ -29,6 +29,7 @@
mkdir build
# download dependencies
+ export GOPATH="${srcdir}"
go mod download
}
build() {
@@ -38,16 +39,18 @@
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
+ 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 \
./cmd/...
+
}
package() {