Date: Tuesday, April 4, 2023 @ 08:53:17 Author: grawlinson Revision: 1434497
upgpkg: vhs 0.3.0-1; new upstream release Modified: vhs/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-04 08:46:54 UTC (rev 1434496) +++ PKGBUILD 2023-04-04 08:53:17 UTC (rev 1434497) @@ -1,7 +1,7 @@ # Maintainer: George Rawlinson <[email protected]> pkgname=vhs -pkgver=0.2.0 +pkgver=0.3.0 pkgrel=1 pkgdesc='A tool for recording terminal GIFs' arch=('x86_64') @@ -10,7 +10,7 @@ depends=('ffmpeg' 'ttyd') makedepends=('git' 'go') options=('!lto') -_commit='6f7cc819032319a4bbef579d82c41b66bc0c427a' +_commit='7cb57d16a9ce2e133b0e1c59a2d0bfdf1d0e5421' source=("$pkgname::git+$url#commit=$_commit") b2sums=('SKIP') @@ -27,6 +27,7 @@ mkdir build # download dependencies + export GOPATH="${srcdir}" go mod download } @@ -37,13 +38,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.Version=v$pkgver \ -X main.CommitSHA=$_commit \ -X main.CommitDate=$(git show --no-patch --format=%cd --date=format:%Y-%m-%d)" \
