[arch-commits] Commit in golang-gopkg-alecthomas-kingpin.v2/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Fri Mar 1 15:49:43 UTC 2019


    Date: Friday, March 1, 2019 @ 15:49:42
  Author: felixonmars
Revision: 437282

archrelease: copy trunk to community-any

Added:
  golang-gopkg-alecthomas-kingpin.v2/repos/community-any/PKGBUILD
    (from rev 437281, golang-gopkg-alecthomas-kingpin.v2/trunk/PKGBUILD)
Deleted:
  golang-gopkg-alecthomas-kingpin.v2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-01 15:49:18 UTC (rev 437281)
+++ PKGBUILD	2019-03-01 15:49:42 UTC (rev 437282)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-gopkg-alecthomas-kingpin.v2
-pkgver=2.2.6
-pkgrel=1
-pkgdesc='A Go (golang) command line and flag parser'
-arch=('any')
-url="https://gopkg.in/alecthomas/kingpin.v2"
-license=('MIT')
-depends=('go-pie' 'golang-github-alecthomas-template' 'golang-github-alecthomas-units'
-         'golang-github-stretchr-testify')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/alecthomas/kingpin/archive/v$pkgver.tar.gz")
-sha512sums=('09c6bb5782639efc7068ed7606fe22c463b2397dc95a89c27ba567a58da10660bfea60d7836b63dcedf7db702f79fe7247575c33a503990f5ba6ca92e29b06b3')
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/gopkg.in
-  cp -a "$srcdir"/kingpin-$pkgver "$srcdir"/build/src/gopkg.in/kingpin.v2
-  cd "$srcdir"/build/src/gopkg.in/kingpin.v2
-  go test -v $(go list ./... | grep -v vendor)
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/gopkg.in
-  cp -a "$srcdir"/kingpin-$pkgver "$pkgdir"/usr/share/gocode/src/gopkg.in/kingpin.v2
-
-  install -Dm644 kingpin-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}

Copied: golang-gopkg-alecthomas-kingpin.v2/repos/community-any/PKGBUILD (from rev 437281, golang-gopkg-alecthomas-kingpin.v2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-01 15:49:42 UTC (rev 437282)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-gopkg-alecthomas-kingpin.v2
+pkgver=2.2.6
+pkgrel=2
+pkgdesc='A Go (golang) command line and flag parser'
+arch=('any')
+url="https://gopkg.in/alecthomas/kingpin.v2"
+license=('MIT')
+depends=('go-pie' 'golang-github-alecthomas-template' 'golang-github-alecthomas-units'
+         'golang-github-stretchr-testify')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/alecthomas/kingpin/archive/v$pkgver.tar.gz")
+sha512sums=('09c6bb5782639efc7068ed7606fe22c463b2397dc95a89c27ba567a58da10660bfea60d7836b63dcedf7db702f79fe7247575c33a503990f5ba6ca92e29b06b3')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/gopkg.in/alecthomas
+  cp -a "$srcdir"/kingpin-$pkgver "$srcdir"/build/src/gopkg.in/alecthomas/kingpin.v2
+  cd "$srcdir"/build/src/gopkg.in/alecthomas/kingpin.v2
+  go test -v $(go list ./...)
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/gopkg.in/alecthomas
+  cp -a "$srcdir"/kingpin-$pkgver "$pkgdir"/usr/share/gocode/src/gopkg.in/alecthomas/kingpin.v2
+
+  install -Dm644 kingpin-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}


More information about the arch-commits mailing list