[arch-commits] Commit in golang-golang-x-sys/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 2 09:34:12 UTC 2019


    Date: Tuesday, April 2, 2019 @ 09:34:11
  Author: felixonmars
Revision: 447471

archrelease: copy trunk to community-any

Added:
  golang-golang-x-sys/repos/community-any/PKGBUILD
    (from rev 447470, golang-golang-x-sys/trunk/PKGBUILD)
Deleted:
  golang-golang-x-sys/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 09:33:53 UTC (rev 447470)
+++ PKGBUILD	2019-04-02 09:34:11 UTC (rev 447471)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-golang-x-sys
-pkgver=0.0.20190222
-_commit=cd391775e71e684db52b63df9affd58269495083
-pkgrel=1
-pkgdesc='Go packages for low-level interaction with the operating system'
-arch=('any')
-url="https://github.com/golang/sys"
-license=('BSD')
-depends=('go-pie')
-source=("$pkgname-$_commit.tar.gz::https://github.com/golang/sys/archive/$_commit.tar.gz")
-sha512sums=('aa7cd0182ec2f4d20924187a0148a27454cb40d957cc44f65e0e684050de76ea19390718511f40bb39bcf12191347bf0aa15f8b158a28a3b330dcf2e99800c4a')
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/golang.org/x
-  cp -a "$srcdir"/sys-$_commit "$srcdir"/build/src/golang.org/x/sys
-  cd "$srcdir"/build/src/golang.org/x/sys
-  go test -v $(go list ./... | grep -v vendor)
-}
-
-package() {
-  mkdir -p "$pkgdir"/usr/share/gocode/src/golang.org/x
-  cp -a "$srcdir"/sys-$_commit "$pkgdir"/usr/share/gocode/src/golang.org/x/sys
-
-  install -Dm644 sys-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: golang-golang-x-sys/repos/community-any/PKGBUILD (from rev 447470, golang-golang-x-sys/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 09:34:11 UTC (rev 447471)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-golang-x-sys
+pkgver=0.0.20190401
+_commit=e4093980e83e70784fc393a93d5620e2654097f0
+pkgrel=1
+pkgdesc='Go packages for low-level interaction with the operating system'
+arch=('any')
+url="https://github.com/golang/sys"
+license=('BSD')
+depends=('go-pie')
+source=("$pkgname-$_commit.tar.gz::https://github.com/golang/sys/archive/$_commit.tar.gz")
+sha512sums=('c2148ebce46e2830266cd077c064077463c689548d626f18775ee5ba2d1c34428ae58c91862e27d4df377920af14e6faeb2324b5b885e2341d33380a6ac77c10')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/golang.org/x
+  cp -a "$srcdir"/sys-$_commit "$srcdir"/build/src/golang.org/x/sys
+  cd "$srcdir"/build/src/golang.org/x/sys
+  go test -v $(go list ./...)
+}
+
+package() {
+  mkdir -p "$pkgdir"/usr/share/gocode/src/golang.org/x
+  cp -a "$srcdir"/sys-$_commit "$pkgdir"/usr/share/gocode/src/golang.org/x/sys
+
+  install -Dm644 sys-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list