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 =================================================================== --- PKGBUILD 2019-10-14 14:53:59 UTC (rev 515707) +++ PKGBUILD 2019-10-14 14:57:27 UTC (rev 515708) @@ -1,42 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -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) +++ PKGBUILD 2019-10-14 14:57:27 UTC (rev 515708) @@ -0,0 +1,42 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> + +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" +}