[arch-commits] Commit in golang-gopkg-yaml.v2/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Apr 28 08:31:09 UTC 2020
Date: Tuesday, April 28, 2020 @ 08:31:09
Author: felixonmars
Revision: 621974
upgpkg: golang-gopkg-yaml.v2 2.2.8-2
Modified:
golang-gopkg-yaml.v2/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-28 08:28:29 UTC (rev 621973)
+++ PKGBUILD 2020-04-28 08:31:09 UTC (rev 621974)
@@ -2,7 +2,7 @@
pkgname=golang-gopkg-yaml.v2
pkgver=2.2.8
-pkgrel=1
+pkgrel=2
pkgdesc='YAML support for the Go language'
arch=('any')
url="https://github.com/go-yaml/yaml"
@@ -14,13 +14,13 @@
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
+ 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/github.com/stretchr
- cp -a "$srcdir"/yaml-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/stretchr/yaml
+ 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