summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorForud2019-09-18 10:58:38 +0200
committerForud2019-09-18 10:58:38 +0200
commit73b38894667160887349dc50a1a2a1b7d45dd64a (patch)
tree98ee1c2578a10261a43428999f68a39fa6777b68 /PKGBUILD
parent77561fa1e8066075c72d6df944189bd093c6f3fb (diff)
downloadaur-go-lint-git.tar.gz
bump and rebuild
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 40420451fda..5a551708a8e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,16 @@
pkgname=go-lint-git
-pkgver=20190301.176_5614ed5
+pkgver=20190909.179_414d861
pkgrel=1
pkgdesc="golang lint"
arch=('i686' 'x86_64')
-license=('GPL')
+license=('BSD 3-Clause')
+url="https://github.com/golang/lint"
+
depends=(
)
+
makedepends=(
- 'go'
+ 'go>=1.12'
'git'
)
@@ -34,12 +37,10 @@ pkgver() {
}
build() {
- GOPATH=$srcdir
GOBIN=$srcdir/bin/
- mkdir -p $srcdir/src/golang.org/x/
- ln -sf $srcdir/lint $srcdir/src/golang.org/x/lint
- cd $srcdir/src/golang.org/x/lint/golint
- go get -v
+ mkdir -p $GOBIN
+ cd $srcdir/lint/golint
+ go install -v .
}
package() {