Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / cue


Commits:
d885d444 by Robin Candau at 2023-09-04T23:50:12+02:00
upgpkg: 0.6.0-1: New upstream release + Fix the version output - FS#77648

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,16 +1,16 @@
 # Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org>
 
 pkgname=cue
-pkgver=0.5.0
+pkgver=0.6.0
 pkgrel=1
 pkgdesc="Validate and define text-based and dynamic configuration"
 arch=('x86_64')
-url="https://github.com/cue-lang/cue";
+url="https://cuelang.org/";
 license=('Apache')
 makedepends=('go')
 depends=('glibc')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cue-lang/cue/archive/v${pkgver}.tar.gz";)
-sha512sums=('3b02cf41ddd020529158186b13414b8582abfeedbd85907bb1285329cd2d973f0aee0fd7710ceae4d6c7548ed11a083f6c646aeba077ed7fac1e3ffb67a4dbf6')
+sha512sums=('bd1b5e6d063e0b6317d0abeacd3340009c454b5a03e7edb21381d7e469c566ac73ecf6096ccb5f4cb8643d7f3d98278bda1e39ff80209015463a3d72126bccb0')
 
 build() {
   cd "${pkgname}-${pkgver}/cmd/cue/"
@@ -19,7 +19,7 @@ build() {
   export CGO_CXXFLAGS="${CXXFLAGS}"
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  go build -ldflags "-s -w -linkmode=external " -v .
+  go build -ldflags "-s -w -linkmode=external -X 
cuelang.org/go/cmd/cue/cmd.version=${pkgver}" -v .
   chmod +x cue
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cue/-/commit/d885d44489410a62c0824a1b03f7b48c1ec1abb2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cue/-/commit/d885d44489410a62c0824a1b03f7b48c1ec1abb2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to