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

Christian Rebischke shibumi at gemini.archlinux.org
Mon Jan 17 22:46:38 UTC 2022


    Date: Monday, January 17, 2022 @ 22:46:38
  Author: shibumi
Revision: 1108302

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-17 22:46:32 UTC (rev 1108301)
+++ PKGBUILD	2022-01-17 22:46:38 UTC (rev 1108302)
@@ -1,42 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=cue
-pkgver=0.4.0
-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=('6454ebb9a9bda3b7c74a8842c0c02f4e394b5f3edbe6d46b196ed6f9d63eab21985d531d93435286ce3d0405b14b21186e5bf34b2eb143f8f688240992ad5326')
-
-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 1108301, cue/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-17 22:46:38 UTC (rev 1108302)
@@ -0,0 +1,42 @@
+# 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}"
+}



More information about the arch-commits mailing list