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

Morten Linderud foxboron at archlinux.org
Sun Jun 2 13:27:38 UTC 2019


    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
===================================================================
--- PKGBUILD	2019-06-02 13:27:30 UTC (rev 476590)
+++ PKGBUILD	2019-06-02 13:27:37 UTC (rev 476591)
@@ -1,37 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-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)
+++ PKGBUILD	2019-06-02 13:27:37 UTC (rev 476591)
@@ -0,0 +1,42 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+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"
+}



More information about the arch-commits mailing list