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

Felix Yan felixonmars at archlinux.org
Fri Jul 31 08:58:31 UTC 2020


    Date: Friday, July 31, 2020 @ 08:58:30
  Author: felixonmars
Revision: 666136

archrelease: copy trunk to community-any

Added:
  golang-github-kr-pretty/repos/community-any/PKGBUILD
    (from rev 666135, golang-github-kr-pretty/trunk/PKGBUILD)
Deleted:
  golang-github-kr-pretty/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-31 08:58:15 UTC (rev 666135)
+++ PKGBUILD	2020-07-31 08:58:30 UTC (rev 666136)
@@ -1,27 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-github-kr-pretty
-pkgver=0.2.0
-pkgrel=2
-pkgdesc='Pretty printing for Go values'
-arch=('any')
-url="https://github.com/kr/pretty"
-license=('MIT')
-depends=('go' 'golang-github-kr-text')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/kr/pretty/archive/v$pkgver.tar.gz")
-sha512sums=('2788a36217b96d4161dcfee34e691a6a3dbde47c42bdffc3f984dce8da5d5b150457e22819667bb8ad9fe46bcd2c166700c2d56435fe103abf4f6b46228bf37e')
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/github.com/kr
-  cp -a "$srcdir"/pretty-$pkgver "$srcdir"/build/src/github.com/kr/pretty
-  cd "$srcdir"/build/src/github.com/kr/pretty
-  go test -v $(go list ./...)
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/kr
-  cp -a "$srcdir"/pretty-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/kr/pretty
-
-  install -Dm644 pretty-$pkgver/License "$pkgdir"/usr/share/licenses/$pkgname/License
-}

Copied: golang-github-kr-pretty/repos/community-any/PKGBUILD (from rev 666135, golang-github-kr-pretty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-31 08:58:30 UTC (rev 666136)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-kr-pretty
+pkgver=0.2.1
+pkgrel=1
+pkgdesc='Pretty printing for Go values'
+arch=('any')
+url="https://github.com/kr/pretty"
+license=('MIT')
+depends=('go' 'golang-github-kr-text')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kr/pretty/archive/v$pkgver.tar.gz")
+sha512sums=('8f4a02171056d983bd67e964818fbfe705a0a549d2db43e9b3add2383c9191cc218449daaeba4b77228fb0cbdf6badcb0e75600e8b7c8dc3cddae1e0c4de83f0')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/github.com/kr
+  cp -a "$srcdir"/pretty-$pkgver "$srcdir"/build/src/github.com/kr/pretty
+  cd "$srcdir"/build/src/github.com/kr/pretty
+  go test -v $(go list ./...)
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/kr
+  cp -a "$srcdir"/pretty-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/kr/pretty
+
+  install -Dm644 pretty-$pkgver/License "$pkgdir"/usr/share/licenses/$pkgname/License
+}



More information about the arch-commits mailing list