[arch-commits] Commit in golang-github-kr-pretty/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Jan 25 16:17:24 UTC 2020
Date: Saturday, January 25, 2020 @ 16:17:23
Author: felixonmars
Revision: 555467
archrelease: copy trunk to community-any
Added:
golang-github-kr-pretty/repos/community-any/PKGBUILD
(from rev 555466, golang-github-kr-pretty/trunk/PKGBUILD)
Deleted:
golang-github-kr-pretty/repos/community-any/PKGBUILD
----------+
PKGBUILD | 53 +++++++++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-25 16:17:08 UTC (rev 555466)
+++ PKGBUILD 2020-01-25 16:17:23 UTC (rev 555467)
@@ -1,26 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-github-kr-pretty
-pkgver=0.1.0
-pkgrel=1
-pkgdesc='Pretty printing for Go values'
-arch=('any')
-url="https://github.com/kr/pretty"
-license=('MIT')
-depends=('go-pie' 'golang-github-kr-text')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/kr/pretty/archive/v$pkgver.tar.gz")
-sha512sums=('7a367c317043d40cfbf7fac631a286c0bbb8b45a716fe7388d6271431e354b3913505398b8ccf7ffbb01abf71f04216738936a4282c3c9645e26c51b7692e820')
-
-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
- go test -v ./pretty-$pkgver
-}
-
-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 555466, golang-github-kr-pretty/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-25 16:17:23 UTC (rev 555467)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-kr-pretty
+pkgver=0.2.0
+pkgrel=1
+pkgdesc='Pretty printing for Go values'
+arch=('any')
+url="https://github.com/kr/pretty"
+license=('MIT')
+depends=('go-pie' '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
+}
More information about the arch-commits
mailing list