[arch-commits] Commit in cue/repos/community-x86_64 (PKGBUILD PKGBUILD)

Christian Rebischke shibumi at gemini.archlinux.org
Tue Apr 5 20:45:33 UTC 2022


    Date: Tuesday, April 5, 2022 @ 20:45:33
  Author: shibumi
Revision: 1181502

archrelease: copy trunk to community-x86_64

Added:
  cue/repos/community-x86_64/PKGBUILD
    (from rev 1181501, cue/trunk/PKGBUILD)
Deleted:
  cue/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-05 20:45:25 UTC (rev 1181501)
+++ PKGBUILD	2022-04-05 20:45:33 UTC (rev 1181502)
@@ -1,42 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=cue
-pkgver=0.4.1
-pkgrel=1
-pkgdesc="Validate and define text-based and dynamic configuration"
-arch=('x86_64')
-url="https://github.com/cue-lang/cue"
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cue-lang/cue/archive/v${pkgver}.tar.gz")
-sha512sums=('0ff7613bde0d0acbd7c93ff461b0bf358c38fc04ec24e8859e71d4a95134da57f1b5c9b277be107c1ab18415b1c60a6d04dd95644878eea597103159cefaa3b8')
-
-build() {
-  cd "${pkgname}-${pkgver}/cmd/cue/"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  go build -ldflags "-s -w -linkmode=external " -v .
-  chmod +x cue
-}
-
-# check() {
-#   cd "${pkgname}-${pkgver}"
-#   go test -v ./...
-# }
-
-package() {
-  cd "${pkgname}-${pkgver}/cmd/cue/"
-  install -Dsm755 ./cue "${pkgdir}/usr/bin/cue"
-
-  # build bash completions
-  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
-  ./cue completion bash  > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-
-  # build zsh completions
-  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
-  ./cue completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}

Copied: cue/repos/community-x86_64/PKGBUILD (from rev 1181501, cue/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-05 20:45:33 UTC (rev 1181502)
@@ -0,0 +1,42 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=cue
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="Validate and define text-based and dynamic configuration"
+arch=('x86_64')
+url="https://github.com/cue-lang/cue"
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/cue-lang/cue/archive/v${pkgver}.tar.gz")
+sha512sums=('71ba6af08666428862606d8b71893b20152ce5f22e457da8c872f616bb50818d9f2d81ba18b7273e22c9494f6dcccf647308c1795febf86e375b969c65ecdba8')
+
+build() {
+  cd "${pkgname}-${pkgver}/cmd/cue/"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go build -ldflags "-s -w -linkmode=external " -v .
+  chmod +x cue
+}
+
+# check() {
+#   cd "${pkgname}-${pkgver}"
+#   go test -v ./...
+# }
+
+package() {
+  cd "${pkgname}-${pkgver}/cmd/cue/"
+  install -Dsm755 ./cue "${pkgdir}/usr/bin/cue"
+
+  # build bash completions
+  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
+  ./cue completion bash  > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+
+  # build zsh completions
+  mkdir -p "${pkgdir}/usr/share/zsh/site-functions"
+  ./cue completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+}



More information about the arch-commits mailing list