[arch-commits] Commit in cue/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Wed Apr 27 14:43:05 UTC 2022
Date: Wednesday, April 27, 2022 @ 14:43:05
Author: jelle
Revision: 1191160
archrelease: copy trunk to community-x86_64
Added:
cue/repos/community-x86_64/PKGBUILD
(from rev 1191159, cue/trunk/PKGBUILD)
Deleted:
cue/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-27 14:43:00 UTC (rev 1191159)
+++ PKGBUILD 2022-04-27 14:43:05 UTC (rev 1191160)
@@ -1,42 +0,0 @@
-# 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}"
-}
Copied: cue/repos/community-x86_64/PKGBUILD (from rev 1191159, cue/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-27 14:43:05 UTC (rev 1191160)
@@ -0,0 +1,42 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=cue
+pkgver=0.4.2
+pkgrel=2
+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