[arch-commits] Commit in golang-gopkg-yaml.v2/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 28 08:31:18 UTC 2020


    Date: Tuesday, April 28, 2020 @ 08:31:17
  Author: felixonmars
Revision: 621975

archrelease: copy trunk to community-any

Added:
  golang-gopkg-yaml.v2/repos/community-any/PKGBUILD
    (from rev 621974, golang-gopkg-yaml.v2/trunk/PKGBUILD)
Deleted:
  golang-gopkg-yaml.v2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-28 08:31:09 UTC (rev 621974)
+++ PKGBUILD	2020-04-28 08:31:17 UTC (rev 621975)
@@ -1,26 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-gopkg-yaml.v2
-pkgver=2.2.8
-pkgrel=1
-pkgdesc='YAML support for the Go language'
-arch=('any')
-url="https://github.com/go-yaml/yaml"
-license=('Apache')
-depends=('go-pie')
-checkdepends=('golang-gopkg-check.v1')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/go-yaml/yaml/archive/v$pkgver.tar.gz")
-sha512sums=('ba9f916a09998af14371060432b414bf4f92dac8b623fa72667e425784b54d8dd3f088aa4bdb0d4499b79de904d0d2b04f1ebce1320c94b4af349e17cd170699')
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/github.com/stretchr
-  cp -a "$srcdir"/yaml-$pkgver "$srcdir"/build/src/github.com/stretchr/yaml
-  cd "$srcdir"/build/src/github.com/stretchr/yaml
-  go test -v $(go list ./...)
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/stretchr
-  cp -a "$srcdir"/yaml-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/stretchr/yaml
-}

Copied: golang-gopkg-yaml.v2/repos/community-any/PKGBUILD (from rev 621974, golang-gopkg-yaml.v2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-28 08:31:17 UTC (rev 621975)
@@ -0,0 +1,26 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-gopkg-yaml.v2
+pkgver=2.2.8
+pkgrel=2
+pkgdesc='YAML support for the Go language'
+arch=('any')
+url="https://github.com/go-yaml/yaml"
+license=('Apache')
+depends=('go-pie')
+checkdepends=('golang-gopkg-check.v1')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/go-yaml/yaml/archive/v$pkgver.tar.gz")
+sha512sums=('ba9f916a09998af14371060432b414bf4f92dac8b623fa72667e425784b54d8dd3f088aa4bdb0d4499b79de904d0d2b04f1ebce1320c94b4af349e17cd170699')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/gopkg.in
+  cp -a "$srcdir"/yaml-$pkgver "$srcdir"/build/src/gopkg.in/yaml.v2
+  cd "$srcdir"/build/src/gopkg.in/yaml.v2
+  go test -v $(go list ./...)
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/gopkg.in
+  cp -a "$srcdir"/yaml-$pkgver "$pkgdir"/usr/share/gocode/src/gopkg.in/yaml.v2
+}



More information about the arch-commits mailing list