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

George Rawlinson grawlinson at gemini.archlinux.org
Thu Apr 28 19:55:35 UTC 2022


    Date: Thursday, April 28, 2022 @ 19:55:35
  Author: grawlinson
Revision: 1191703

archrelease: copy trunk to community-x86_64

Added:
  gron/repos/community-x86_64/PKGBUILD
    (from rev 1191702, gron/trunk/PKGBUILD)
Deleted:
  gron/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-28 19:54:11 UTC (rev 1191702)
+++ PKGBUILD	2022-04-28 19:55:35 UTC (rev 1191703)
@@ -1,72 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Stefan Tatschner <stefan at rumpelsepp.org>
-
-pkgname=gron
-pkgver=0.7.1
-pkgrel=1
-pkgdesc='Makes JSON greppable'
-arch=('x86_64')
-url='https://github.com/tomnomnom/gron'
-license=('MIT')
-depends=('glibc')
-makedepends=('git' 'go')
-options=('!lto')
-_commit='badf401da553eb41b7ffde4be6a64809ed0ed846'
-source=("$pkgname::git+https://github.com/tomnomnom/gron.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod download
-}
-
-build() {
-  cd "$pkgname"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags $LDFLAGS" \
-    -o build \
-    .
-}
-
-check() {
-  cd "$pkgname"
-
-  go test -v ./...
-}
-
-package() {
-  cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" build/gron
-
-  # shell completion
-  install -vDm644 -t "$pkgdir/usr/share/fish/vendor_completions.d" completions/gron.fish
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" {README,ADVANCED}.mkd
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: gron/repos/community-x86_64/PKGBUILD (from rev 1191702, gron/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-28 19:55:35 UTC (rev 1191703)
@@ -0,0 +1,72 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Stefan Tatschner <stefan at rumpelsepp.org>
+
+pkgname=gron
+pkgver=0.7.1
+pkgrel=2
+pkgdesc='Makes JSON greppable'
+arch=('x86_64')
+url='https://github.com/tomnomnom/gron'
+license=('MIT')
+depends=('glibc')
+makedepends=('git' 'go')
+options=('!lto')
+_commit='badf401da553eb41b7ffde4be6a64809ed0ed846'
+source=("$pkgname::git+https://github.com/tomnomnom/gron.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+
+  go build -v \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags $LDFLAGS" \
+    -o build \
+    .
+}
+
+check() {
+  cd "$pkgname"
+
+  go test -v ./...
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" build/gron
+
+  # shell completion
+  install -vDm644 -t "$pkgdir/usr/share/fish/vendor_completions.d" completions/gron.fish
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" {README,ADVANCED}.mkd
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}



More information about the arch-commits mailing list