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

George Rawlinson grawlinson at gemini.archlinux.org
Thu Apr 28 20:05:01 UTC 2022


    Date: Thursday, April 28, 2022 @ 20:05:00
  Author: grawlinson
Revision: 1191711

archrelease: copy trunk to community-x86_64

Added:
  miller/repos/community-x86_64/PKGBUILD
    (from rev 1191710, miller/trunk/PKGBUILD)
Deleted:
  miller/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  131 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-28 20:01:47 UTC (rev 1191710)
+++ PKGBUILD	2022-04-28 20:05:00 UTC (rev 1191711)
@@ -1,65 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-
-pkgname=miller
-pkgver=6.2.0
-pkgrel=1
-pkgdesc="Name-indexed data processing tool"
-arch=('x86_64')
-url="https://github.com/johnkerl/miller"
-license=('BSD')
-depends=('glibc')
-makedepends=('go' 'git')
-options=('!lto')
-_commit='f9e325636796e05aad1170fb3014715fc75ce040'
-source=("$pkgname::git+$url#commit=$_commit")
-md5sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags | sed "s/^v//"
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # 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}" \
-    ./cmd/mlr
-}
-
-check() {
-  cd "$pkgname"
-
-  go test -v ./internal/pkg/...
-  go test -v ./regression_test.go
-}
-
-package() {
-  cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" mlr
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/man/man1" man/mlr.1
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
-}

Copied: miller/repos/community-x86_64/PKGBUILD (from rev 1191710, miller/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-28 20:05:00 UTC (rev 1191711)
@@ -0,0 +1,66 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+
+pkgname=miller
+pkgver=6.2.0
+pkgrel=2
+pkgdesc='Name-indexed data processing tool'
+arch=('x86_64')
+url='https://github.com/johnkerl/miller'
+license=('BSD')
+depends=('glibc')
+makedepends=('go' 'git')
+options=('!lto')
+_commit='f9e325636796e05aad1170fb3014715fc75ce040'
+source=("$pkgname::git+$url#commit=$_commit")
+md5sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # 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}" \
+    ./cmd/mlr
+}
+
+check() {
+  cd "$pkgname"
+
+  go test -v ./internal/pkg/...
+  go test -v ./regression_test.go
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" mlr
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/man/man1" man/mlr.1
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
+}



More information about the arch-commits mailing list