[arch-commits] Commit in staticcheck/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-12-14 Thread Morten Linderud via arch-commits
Date: Monday, December 14, 2020 @ 17:05:54
  Author: foxboron
Revision: 775751

archrelease: copy trunk to community-x86_64

Added:
  staticcheck/repos/community-x86_64/PKGBUILD
(from rev 775750, staticcheck/trunk/PKGBUILD)
Deleted:
  staticcheck/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   83 +
 1 file changed, 40 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-12-14 17:05:46 UTC (rev 775750)
+++ PKGBUILD2020-12-14 17:05:54 UTC (rev 775751)
@@ -1,43 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=staticcheck
-pkgver=2020.1.6
-pkgrel=1
-pkgdesc="The advanced Go linter"
-arch=('x86_64')
-url="https://staticcheck.io;
-license=("MIT")
-depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;
-   
"fix-tests.patch::https://github.com/dominikh/go-tools/commit/542e8c572ba90537f28d6272df560105e64d5e9c.patch;)
-md5sums=('af80714ca51ed1964901eb0ac94756a6'
- '622467f6c704c75a132164b1fe0783f2')
-
-prepare(){
-   cd "go-tools-$pkgver"
-   mkdir -p bin
-   patch -Np1 < "$srcdir/fix-tests.patch"
-}
-
-build(){
-   cd "go-tools-$pkgver"
-   export CGO_LDFLAGS="${LDFLAGS}"
-   export CGO_CFLAGS="${CFLAGS}"
-   export CGO_CPPFLAGS="${CPPFLAGS}"
-   export CGO_CXXFLAGS="${CXXFLAGS}"
-   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
-   go build -o bin/staticcheck ./cmd/staticcheck
-}
-
-check(){
-   cd "go-tools-$pkgver"
-   GOROOT="/usr/lib/go" go test -v ./...
-}
-
-package(){
-   cd "go-tools-$pkgver"
-   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
-   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
-   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
-}

Copied: staticcheck/repos/community-x86_64/PKGBUILD (from rev 775750, 
staticcheck/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-12-14 17:05:54 UTC (rev 775751)
@@ -0,0 +1,40 @@
+# Maintainer: Morten Linderud 
+
+pkgname=staticcheck
+pkgver=2020.2
+pkgrel=1
+pkgdesc="The advanced Go linter"
+arch=('x86_64')
+url="https://staticcheck.io;
+license=("MIT")
+depends=('glibc')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;)
+sha256sums=('4e1658dd8f185f29568cd6bdc8943fe58cb7e6b7d62b4b69ef4bcecbc46d4253')
+
+prepare(){
+   cd "go-tools-$pkgver"
+   mkdir -p bin
+}
+
+build(){
+   cd "go-tools-$pkgver"
+   export CGO_LDFLAGS="${LDFLAGS}"
+   export CGO_CFLAGS="${CFLAGS}"
+   export CGO_CPPFLAGS="${CPPFLAGS}"
+   export CGO_CXXFLAGS="${CXXFLAGS}"
+   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
+   go build -o bin/staticcheck ./cmd/staticcheck
+}
+
+check(){
+   cd "go-tools-$pkgver"
+   GOROOT="/usr/lib/go" go test -v ./...
+}
+
+package(){
+   cd "go-tools-$pkgver"
+   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
+   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
+}


[arch-commits] Commit in staticcheck/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-10-13 Thread Morten Linderud via arch-commits
Date: Tuesday, October 13, 2020 @ 17:51:39
  Author: foxboron
Revision: 723844

archrelease: copy trunk to community-x86_64

Added:
  staticcheck/repos/community-x86_64/PKGBUILD
(from rev 723843, staticcheck/trunk/PKGBUILD)
Deleted:
  staticcheck/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   83 +++--
 1 file changed, 43 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-10-13 17:51:31 UTC (rev 723843)
+++ PKGBUILD2020-10-13 17:51:39 UTC (rev 723844)
@@ -1,40 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=staticcheck
-pkgver=2020.1.5
-pkgrel=1
-pkgdesc="Staticcheck - The advanced Go linter"
-arch=('x86_64')
-url="https://staticcheck.io;
-license=("MIT")
-depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;)
-md5sums=('029ae003e14c1543f43db9539901c6bf')
-
-prepare(){
-   cd "go-tools-$pkgver"
-   mkdir -p bin
-}
-
-build(){
-   cd "go-tools-$pkgver"
-   export CGO_LDFLAGS="${LDFLAGS}"
-   export CGO_CFLAGS="${CFLAGS}"
-   export CGO_CPPFLAGS="${CPPFLAGS}"
-   export CGO_CXXFLAGS="${CXXFLAGS}"
-   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-   go build -o bin/staticcheck ./cmd/staticcheck
-}
-
-check(){
-   cd "go-tools-$pkgver"
-   GOROOT="/usr/lib/go" go test -v ./...
-}
-
-package(){
-   cd "go-tools-$pkgver"
-   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
-   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
-   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
-}

Copied: staticcheck/repos/community-x86_64/PKGBUILD (from rev 723843, 
staticcheck/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-10-13 17:51:39 UTC (rev 723844)
@@ -0,0 +1,43 @@
+# Maintainer: Morten Linderud 
+
+pkgname=staticcheck
+pkgver=2020.1.6
+pkgrel=1
+pkgdesc="The advanced Go linter"
+arch=('x86_64')
+url="https://staticcheck.io;
+license=("MIT")
+depends=('glibc')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;
+   
"fix-tests.patch::https://github.com/dominikh/go-tools/commit/542e8c572ba90537f28d6272df560105e64d5e9c.patch;)
+md5sums=('af80714ca51ed1964901eb0ac94756a6'
+ '622467f6c704c75a132164b1fe0783f2')
+
+prepare(){
+   cd "go-tools-$pkgver"
+   mkdir -p bin
+   patch -Np1 < "$srcdir/fix-tests.patch"
+}
+
+build(){
+   cd "go-tools-$pkgver"
+   export CGO_LDFLAGS="${LDFLAGS}"
+   export CGO_CFLAGS="${CFLAGS}"
+   export CGO_CPPFLAGS="${CPPFLAGS}"
+   export CGO_CXXFLAGS="${CXXFLAGS}"
+   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw 
-ldflags=-linkmode=external"
+   go build -o bin/staticcheck ./cmd/staticcheck
+}
+
+check(){
+   cd "go-tools-$pkgver"
+   GOROOT="/usr/lib/go" go test -v ./...
+}
+
+package(){
+   cd "go-tools-$pkgver"
+   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
+   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
+}


[arch-commits] Commit in staticcheck/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-07-31 Thread Morten Linderud via arch-commits
Date: Friday, July 31, 2020 @ 19:01:04
  Author: foxboron
Revision: 666322

archrelease: copy trunk to community-x86_64

Added:
  staticcheck/repos/community-x86_64/PKGBUILD
(from rev 666321, staticcheck/trunk/PKGBUILD)
Deleted:
  staticcheck/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   80 ++---
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-07-31 19:00:57 UTC (rev 666321)
+++ PKGBUILD2020-07-31 19:01:04 UTC (rev 666322)
@@ -1,40 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=staticcheck
-pkgver=2020.1.4
-pkgrel=1
-pkgdesc="Staticcheck - The advanced Go linter"
-arch=('x86_64')
-url="https://staticcheck.io;
-license=("MIT")
-depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;)
-md5sums=('c0d4c51c76384c682d6bc014bd26bf0d')
-
-prepare(){
-   cd "go-tools-$pkgver"
-   mkdir -p bin
-}
-
-build(){
-   cd "go-tools-$pkgver"
-   export CGO_LDFLAGS="${LDFLAGS}"
-   export CGO_CFLAGS="${CFLAGS}"
-   export CGO_CPPFLAGS="${CPPFLAGS}"
-   export CGO_CXXFLAGS="${CXXFLAGS}"
-   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-   go build -o bin/staticcheck ./cmd/staticcheck
-}
-
-check(){
-   cd "go-tools-$pkgver"
-   GOROOT="/usr/lib/go" go test -v ./...
-}
-
-package(){
-   cd "go-tools-$pkgver"
-   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
-   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
-   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
-}

Copied: staticcheck/repos/community-x86_64/PKGBUILD (from rev 666321, 
staticcheck/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-07-31 19:01:04 UTC (rev 666322)
@@ -0,0 +1,40 @@
+# Maintainer: Morten Linderud 
+
+pkgname=staticcheck
+pkgver=2020.1.5
+pkgrel=1
+pkgdesc="Staticcheck - The advanced Go linter"
+arch=('x86_64')
+url="https://staticcheck.io;
+license=("MIT")
+depends=('glibc')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;)
+md5sums=('029ae003e14c1543f43db9539901c6bf')
+
+prepare(){
+   cd "go-tools-$pkgver"
+   mkdir -p bin
+}
+
+build(){
+   cd "go-tools-$pkgver"
+   export CGO_LDFLAGS="${LDFLAGS}"
+   export CGO_CFLAGS="${CFLAGS}"
+   export CGO_CPPFLAGS="${CPPFLAGS}"
+   export CGO_CXXFLAGS="${CXXFLAGS}"
+   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+   go build -o bin/staticcheck ./cmd/staticcheck
+}
+
+check(){
+   cd "go-tools-$pkgver"
+   GOROOT="/usr/lib/go" go test -v ./...
+}
+
+package(){
+   cd "go-tools-$pkgver"
+   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
+   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
+}


[arch-commits] Commit in staticcheck/repos/community-x86_64 (PKGBUILD PKGBUILD)

2020-05-15 Thread Morten Linderud via arch-commits
Date: Friday, May 15, 2020 @ 22:08:25
  Author: foxboron
Revision: 628127

archrelease: copy trunk to community-x86_64

Added:
  staticcheck/repos/community-x86_64/PKGBUILD
(from rev 628126, staticcheck/trunk/PKGBUILD)
Deleted:
  staticcheck/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   78 +++--
 1 file changed, 40 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-05-15 22:08:18 UTC (rev 628126)
+++ PKGBUILD2020-05-15 22:08:25 UTC (rev 628127)
@@ -1,38 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=staticcheck
-pkgver=2020.1.3
-pkgrel=1
-pkgdesc="Staticcheck - The advanced Go linter"
-arch=('x86_64')
-url="https://staticcheck.io;
-license=("MIT")
-depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;)
-md5sums=('0032e437aa43b5dfe0c84f3e1bb9a266')
-
-prepare(){
-   cd "go-tools-$pkgver"
-   mkdir -p bin
-}
-
-build(){
-   cd "go-tools-$pkgver"
-   export GOFLAGS="-buildmode=pie -trimpath"
-   export CGO_CFLAGS="$CFLAGS"
-   export CGO_LDFLAGS="$LDFLAGS"
-   go build -o bin/staticcheck ./cmd/staticcheck
-}
-
-check(){
-   cd "go-tools-$pkgver"
-   GOROOT="/usr/lib/go" go test -v ./...
-}
-
-package(){
-   cd "go-tools-$pkgver"
-   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
-   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
-   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
-}

Copied: staticcheck/repos/community-x86_64/PKGBUILD (from rev 628126, 
staticcheck/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-05-15 22:08:25 UTC (rev 628127)
@@ -0,0 +1,40 @@
+# Maintainer: Morten Linderud 
+
+pkgname=staticcheck
+pkgver=2020.1.4
+pkgrel=1
+pkgdesc="Staticcheck - The advanced Go linter"
+arch=('x86_64')
+url="https://staticcheck.io;
+license=("MIT")
+depends=('glibc')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/dominikh/go-tools/archive/$pkgver.tar.gz;)
+md5sums=('c0d4c51c76384c682d6bc014bd26bf0d')
+
+prepare(){
+   cd "go-tools-$pkgver"
+   mkdir -p bin
+}
+
+build(){
+   cd "go-tools-$pkgver"
+   export CGO_LDFLAGS="${LDFLAGS}"
+   export CGO_CFLAGS="${CFLAGS}"
+   export CGO_CPPFLAGS="${CPPFLAGS}"
+   export CGO_CXXFLAGS="${CXXFLAGS}"
+   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+   go build -o bin/staticcheck ./cmd/staticcheck
+}
+
+check(){
+   cd "go-tools-$pkgver"
+   GOROOT="/usr/lib/go" go test -v ./...
+}
+
+package(){
+   cd "go-tools-$pkgver"
+   install -p -Dm755 bin/staticcheck "${pkgdir}/usr/bin/staticcheck"
+   install -Dm644 "LICENSE"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
+   install -Dm644 "LICENSE-THIRD-PARTY"  
"${pkgdir}/usr/share/licenses/${pkgname}/LICENCE-THIRD-PARTY"
+}