[arch-commits] Commit in golang-github-stretchr-objx/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Fri Aug 23 06:11:41 UTC 2019


    Date: Friday, August 23, 2019 @ 06:11:41
  Author: felixonmars
Revision: 500974

archrelease: copy trunk to community-any

Added:
  golang-github-stretchr-objx/repos/community-any/PKGBUILD
    (from rev 500973, golang-github-stretchr-objx/trunk/PKGBUILD)
Deleted:
  golang-github-stretchr-objx/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   54 +++++++++++++++++++++++++++---------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-23 06:11:31 UTC (rev 500973)
+++ PKGBUILD	2019-08-23 06:11:41 UTC (rev 500974)
@@ -1,27 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-github-stretchr-objx
-pkgver=0.1.1.20190212
-_commit=c61a9dfcced1815e7d40e214d00d1a8669a9f58c
-pkgrel=1
-pkgdesc='Go package for dealing with maps, slices, JSON and other data.'
-arch=('any')
-url="https://github.com/stretchr/objx"
-license=('MIT')
-depends=('go-pie')
-source=("$pkgname-$_commit.tar.gz::https://github.com/stretchr/objx/archive/$_commit.tar.gz")
-sha512sums=('cab0b4e28c82a9dc0a59abb0c33124b84b6069c73e9bf456abfd27f8584054a93ec7374fab48b7dabe94c6792f1a0fd6d1b70d7c15e8962fedc40cb878dff445')
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/github.com/stretchr
-  cp -a "$srcdir"/objx-$_commit "$srcdir"/build/src/github.com/stretchr/objx
-  go test -v github.com/stretchr/objx
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/stretchr
-  cp -a "$srcdir"/objx-$_commit "$pkgdir"/usr/share/gocode/src/github.com/stretchr/objx
-
-  install -Dm644 objx-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: golang-github-stretchr-objx/repos/community-any/PKGBUILD (from rev 500973, golang-github-stretchr-objx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-23 06:11:41 UTC (rev 500974)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-stretchr-objx
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Go package for dealing with maps, slices, JSON and other data.'
+arch=('any')
+url="https://github.com/stretchr/objx"
+license=('MIT')
+depends=('go-pie')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/stretchr/objx/archive/v$pkgver.tar.gz")
+sha512sums=('d2b9b907c33b52e6ae5ef58280b3e8b2aa03bb7fe055275850cbe95ed4c62663867abe6ad7a5790ee10ecfab9c0cc7cbcefea1d3971454c02fb198c792402b36')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/github.com/stretchr
+  cp -a "$srcdir"/objx-$pkgver "$srcdir"/build/src/github.com/stretchr/objx
+  cd "$srcdir"/build/src/github.com/stretchr/objx
+  go test -v $(go list ./...)
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/stretchr
+  cp -a "$srcdir"/objx-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/stretchr/objx
+
+  install -Dm644 objx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list