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

2020-06-09 Thread Morten Linderud via arch-commits
Date: Tuesday, June 9, 2020 @ 21:15:44
  Author: foxboron
Revision: 640976

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 640975, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   85 ++---
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-09 21:15:35 UTC (rev 640975)
+++ PKGBUILD2020-06-09 21:15:44 UTC (rev 640976)
@@ -1,42 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.5.4
-pkgrel=4
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-checkdepends=('mercurial' 'bzr' 'subversion')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
-
-prepare(){
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-build(){
-  export GOPATH="${srcdir}"
-  cd src/github.com/golang/dep
-  go install \
-   -gcflags "all=-trimpath=${GOPATH}/src" \
-   -asmflags "all=-trimpath=${GOPATH}/src" \
-   -ldflags "-extldflags ${LDFLAGS}" \
-   ./cmd/...
-}
-
-# check(){
-#   cd src/github.com/golang/dep
-#   mkdir -p "${srcdir}/build-cache"
-#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
-# }
-
-package(){
-  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
-
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 640975, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-09 21:15:44 UTC (rev 640976)
@@ -0,0 +1,43 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.4
+pkgrel=5
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  go install ./cmd/...
+}
+
+# check(){
+#   cd src/github.com/golang/dep
+#   mkdir -p "${srcdir}/build-cache"
+#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
+# }
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2020-02-29 Thread Morten Linderud via arch-commits
Date: Saturday, February 29, 2020 @ 13:35:46
  Author: foxboron
Revision: 586904

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 586903, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-29 13:35:38 UTC (rev 586903)
+++ PKGBUILD2020-02-29 13:35:46 UTC (rev 586904)
@@ -1,42 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.5.4
-pkgrel=3
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-checkdepends=('mercurial' 'bzr' 'subversion')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
-
-prepare(){
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-build(){
-  export GOPATH="${srcdir}"
-  cd src/github.com/golang/dep
-  go install \
-   -gcflags "all=-trimpath=${GOPATH}/src" \
-   -asmflags "all=-trimpath=${GOPATH}/src" \
-   -ldflags "-extldflags ${LDFLAGS}" \
-   ./cmd/...
-}
-
-# check(){
-#   cd src/github.com/golang/dep
-#   mkdir -p "${srcdir}/build-cache"
-#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
-# }
-
-package(){
-  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
-
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 586903, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-29 13:35:46 UTC (rev 586904)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.4
+pkgrel=4
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go-pie' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  go install \
+   -gcflags "all=-trimpath=${GOPATH}/src" \
+   -asmflags "all=-trimpath=${GOPATH}/src" \
+   -ldflags "-extldflags ${LDFLAGS}" \
+   ./cmd/...
+}
+
+# check(){
+#   cd src/github.com/golang/dep
+#   mkdir -p "${srcdir}/build-cache"
+#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
+# }
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2019-10-14 Thread Morten Linderud via arch-commits
Date: Monday, October 14, 2019 @ 14:57:27
  Author: foxboron
Revision: 515708

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 515707, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-10-14 14:53:59 UTC (rev 515707)
+++ PKGBUILD2019-10-14 14:57:27 UTC (rev 515708)
@@ -1,42 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.5.4
-pkgrel=2
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-checkdepends=('mercurial' 'bzr' 'subversion')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
-
-prepare(){
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-build(){
-  export GOPATH="${srcdir}"
-  cd src/github.com/golang/dep
-  go install \
-   -gcflags "all=-trimpath=${GOPATH}/src" \
-   -asmflags "all=-trimpath=${GOPATH}/src" \
-   -ldflags "-extldflags ${LDFLAGS}" \
-   ./cmd/...
-}
-
-# check(){
-#   cd src/github.com/golang/dep
-#   mkdir -p "${srcdir}/build-cache"
-#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
-# }
-
-package(){
-  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
-
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 515707, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-10-14 14:57:27 UTC (rev 515708)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.4
+pkgrel=3
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go-pie' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  go install \
+   -gcflags "all=-trimpath=${GOPATH}/src" \
+   -asmflags "all=-trimpath=${GOPATH}/src" \
+   -ldflags "-extldflags ${LDFLAGS}" \
+   ./cmd/...
+}
+
+# check(){
+#   cd src/github.com/golang/dep
+#   mkdir -p "${srcdir}/build-cache"
+#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
+# }
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2019-08-16 Thread Felix Yan via arch-commits
Date: Friday, August 16, 2019 @ 14:05:57
  Author: felixonmars
Revision: 499874

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 499873, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-08-16 14:05:47 UTC (rev 499873)
+++ PKGBUILD2019-08-16 14:05:57 UTC (rev 499874)
@@ -1,42 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.5.4
-pkgrel=1
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-checkdepends=('mercurial' 'bzr' 'subversion')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
-
-prepare(){
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-build(){
-  export GOPATH="${srcdir}"
-  cd src/github.com/golang/dep
-  go install \
-   -gcflags "all=-trimpath=${GOPATH}/src" \
-   -asmflags "all=-trimpath=${GOPATH}/src" \
-   -ldflags "-extldflags ${LDFLAGS}" \
-   ./cmd/...
-}
-
-# check(){
-#   cd src/github.com/golang/dep
-#   mkdir -p "${srcdir}/build-cache"
-#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
-# }
-
-package(){
-  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
-
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 499873, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-08-16 14:05:57 UTC (rev 499874)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.4
+pkgrel=2
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go-pie' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  go install \
+   -gcflags "all=-trimpath=${GOPATH}/src" \
+   -asmflags "all=-trimpath=${GOPATH}/src" \
+   -ldflags "-extldflags ${LDFLAGS}" \
+   ./cmd/...
+}
+
+# check(){
+#   cd src/github.com/golang/dep
+#   mkdir -p "${srcdir}/build-cache"
+#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
+# }
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2019-06-15 Thread Santiago Torres-Arias via arch-commits
Date: Saturday, June 15, 2019 @ 16:53:45
  Author: sangy
Revision: 481698

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 481697, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   84 ++---
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-06-15 16:53:34 UTC (rev 481697)
+++ PKGBUILD2019-06-15 16:53:45 UTC (rev 481698)
@@ -1,42 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.5.3
-pkgrel=1
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-checkdepends=('mercurial' 'bzr' 'subversion')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('7522588ce2d988039b15c6a7584f854223606e6ffb37c180c11b5000906a846e')
-
-prepare(){
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-build(){
-  export GOPATH="${srcdir}"
-  cd src/github.com/golang/dep
-  go install \
-   -gcflags "all=-trimpath=${GOPATH}/src" \
-   -asmflags "all=-trimpath=${GOPATH}/src" \
-   -ldflags "-extldflags ${LDFLAGS}" \
-   ./cmd/...
-}
-
-# check(){
-#   cd src/github.com/golang/dep
-#   mkdir -p "${srcdir}/build-cache"
-#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
-# }
-
-package(){
-  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
-
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 481697, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-06-15 16:53:45 UTC (rev 481698)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.4
+pkgrel=1
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go-pie' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('929c8f759838f98323211ba408a831ea80d93b75beda8584b6d950f393a3298a')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  go install \
+   -gcflags "all=-trimpath=${GOPATH}/src" \
+   -asmflags "all=-trimpath=${GOPATH}/src" \
+   -ldflags "-extldflags ${LDFLAGS}" \
+   ./cmd/...
+}
+
+# check(){
+#   cd src/github.com/golang/dep
+#   mkdir -p "${srcdir}/build-cache"
+#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
+# }
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2019-06-02 Thread Morten Linderud via arch-commits
Date: Sunday, June 2, 2019 @ 13:27:37
  Author: foxboron
Revision: 476591

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 476590, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   79 -
 1 file changed, 42 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-06-02 13:27:30 UTC (rev 476590)
+++ PKGBUILD2019-06-02 13:27:37 UTC (rev 476591)
@@ -1,37 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.5.0
-pkgrel=2
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-checkdepends=('mercurial' 'bzr' 'subversion')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('65c31c8d51513dfabd25f1f37ecd22a38ab3bcdd5893bdf10f54941250e4f19d')
-
-prepare(){
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-build(){
-  export GOPATH="${srcdir}"
-  cd src/github.com/golang/dep
-  go install -gcflags "all=-trimpath=${GOPATH}/src" -asmflags 
"all=-trimpath=${GOPATH}/src" ./cmd/...
-}
-
-check(){
-  cd src/github.com/golang/dep
-  go test ./...
-}
-
-package(){
-  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
-
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 476590, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-06-02 13:27:37 UTC (rev 476591)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.3
+pkgrel=1
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go-pie' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('7522588ce2d988039b15c6a7584f854223606e6ffb37c180c11b5000906a846e')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  go install \
+   -gcflags "all=-trimpath=${GOPATH}/src" \
+   -asmflags "all=-trimpath=${GOPATH}/src" \
+   -ldflags "-extldflags ${LDFLAGS}" \
+   ./cmd/...
+}
+
+# check(){
+#   cd src/github.com/golang/dep
+#   mkdir -p "${srcdir}/build-cache"
+#   DEPCACHEDIR="${srcdir}/build-cache" go test ./...
+# }
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2019-02-06 Thread Eli Schwartz via arch-commits
Date: Wednesday, February 6, 2019 @ 20:37:45
  Author: eschwartz
Revision: 429752

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 429751, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   74 ++---
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2019-02-06 20:35:34 UTC (rev 429751)
+++ PKGBUILD2019-02-06 20:37:45 UTC (rev 429752)
@@ -1,37 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.5.0
-pkgrel=1
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-checkdepends=('mercurial' 'bzr' 'subversion')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('65c31c8d51513dfabd25f1f37ecd22a38ab3bcdd5893bdf10f54941250e4f19d')
-
-prepare(){
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-build(){
-  export GOPATH="${srcdir}"
-  cd src/github.com/golang/dep
-  go install -gcflags "all=-trimpath=${GOPATH}/src" -asmflags 
"all=-trimpath=${GOPATH}/src" ./cmd/...
-}
-
-check(){
-  cd src/github.com/golang/dep
-  go test ./...
-}
-
-package(){
-  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
-
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 429751, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2019-02-06 20:37:45 UTC (rev 429752)
@@ -0,0 +1,37 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go-pie' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('65c31c8d51513dfabd25f1f37ecd22a38ab3bcdd5893bdf10f54941250e4f19d')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  go install -gcflags "all=-trimpath=${GOPATH}/src" -asmflags 
"all=-trimpath=${GOPATH}/src" ./cmd/...
+}
+
+check(){
+  cd src/github.com/golang/dep
+  go test ./...
+}
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


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

2018-08-03 Thread Morten Linderud via arch-commits
Date: Friday, August 3, 2018 @ 20:11:45
  Author: foxboron
Revision: 367628

archrelease: copy trunk to community-x86_64

Added:
  dep/repos/community-x86_64/PKGBUILD
(from rev 367627, dep/trunk/PKGBUILD)
Deleted:
  dep/repos/community-x86_64/PKGBUILD

--+
 PKGBUILD |   76 +
 1 file changed, 37 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2018-08-03 20:11:37 UTC (rev 367627)
+++ PKGBUILD2018-08-03 20:11:45 UTC (rev 367628)
@@ -1,39 +0,0 @@
-# Maintainer: Morten Linderud 
-
-pkgname=dep
-pkgver=0.4.1
-pkgrel=3
-pkgdesc="Go dependency management tool"
-arch=('x86_64')
-url='https://golang.github.io/dep/'
-license=('BSD')
-makedepends=('go-pie' 'git')
-optdepends=('git: fetch git sources')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
-sha256sums=('df9b050bf4dbb2a8cf04372097a68b04a6ae1986ed7c5086914ac86d74ea9d49')
-
-prepare(){
-  export GOPATH="${srcdir}"
-  mkdir -p src
-  mv "${pkgname}-${pkgver}"/vendor/* src/
-  mkdir -p src/github.com/golang
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
-}
-
-# TODO: Makefile next release
-
-build(){
-  cd "${pkgname}-${pkgver}"
-  go build ./cmd/dep
-}
-
-check(){
-  cd "${pkgname}-${pkgver}"
-  go test
-}
-
-package(){
-  cd "${pkgname}-${pkgver}"
-  install -Dm755 dep "${pkgdir}/usr/bin/dep"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: dep/repos/community-x86_64/PKGBUILD (from rev 367627, 
dep/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2018-08-03 20:11:45 UTC (rev 367628)
@@ -0,0 +1,37 @@
+# Maintainer: Morten Linderud 
+
+pkgname=dep
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Go dependency management tool"
+arch=('x86_64')
+url='https://golang.github.io/dep/'
+license=('BSD')
+makedepends=('go-pie' 'git')
+optdepends=('git: fetch git sources')
+checkdepends=('mercurial' 'bzr' 'subversion')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golang/dep/archive/v${pkgver}.tar.gz";)
+sha256sums=('65c31c8d51513dfabd25f1f37ecd22a38ab3bcdd5893bdf10f54941250e4f19d')
+
+prepare(){
+  mkdir -p src/github.com/golang
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/golang/dep
+}
+
+build(){
+  export GOPATH="${srcdir}"
+  cd src/github.com/golang/dep
+  go install -gcflags "all=-trimpath=${GOPATH}/src" -asmflags 
"all=-trimpath=${GOPATH}/src" ./cmd/...
+}
+
+check(){
+  cd src/github.com/golang/dep
+  go test ./...
+}
+
+package(){
+  install -Dm755 bin/dep "${pkgdir}/usr/bin/dep"
+
+  cd "${pkgname}-${pkgver}"
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}