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

Alexander Rødseth arodseth at archlinux.org
Wed Mar 14 08:40:46 UTC 2018


    Date: Wednesday, March 14, 2018 @ 08:40:45
  Author: arodseth
Revision: 307645

archrelease: copy trunk to community-x86_64

Added:
  glide/repos/community-x86_64/PKGBUILD
    (from rev 307644, glide/trunk/PKGBUILD)
Deleted:
  glide/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   91 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 44 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-14 08:40:34 UTC (rev 307644)
+++ PKGBUILD	2018-03-14 08:40:45 UTC (rev 307645)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: fanningert <thomas at fanninger.at>
-
-pkgname=glide
-pkgver=0.13.0
-pkgrel=2
-pkgdesc='Dependency management and vendoring for Go projects'
-arch=('x86_64' 'i686')
-_gourl="github.com/Masterminds"
-url="https://$_gourl/glide"
-license=('MIT')
-makedepends=('git' 'go-pie')
-depends=('glibc')
-provides=('glide')
-options=('!strip' '!emptydirs')
-source=("git+$url#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  mkdir -p build/go && cd build/go
-  for f in "/usr/lib/go/"*; do ln -s "$f"; done
-  rm pkg && mkdir pkg && cd pkg
-  for f in "/usr/lib/go/pkg/"*; do ln -s "$f"; done
-
-  export GOPATH="$srcdir/build"
-  export GOROOT="$GOPATH/go"
-
-  mkdir -p "$GOPATH/src/$_gourl"
-  mv "$srcdir/$pkgname" "$GOPATH/src/$_gourl/$pkgname"
-}
-
-build() {
-  cd "$GOPATH/src/${_gourl}/${pkgname}"
-
-  go fix && go build -o glide -ldflags "-X main.version=$pkgver" glide.go
-}
-
-package() {
-  cd "build/src/$_gourl/$pkgname"
-
-  install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# getver: github.com/Masterminds/glide
-# vim: ts=2 sw=2 et:

Copied: glide/repos/community-x86_64/PKGBUILD (from rev 307644, glide/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-14 08:40:45 UTC (rev 307645)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: fanningert <thomas at fanninger.at>
+
+pkgname=glide
+pkgver=0.13.1
+pkgrel=1
+pkgdesc='Dependency management and vendoring for Go projects'
+arch=('x86_64')
+url='https://github.com/Masterminds/glide'
+license=('MIT')
+makedepends=('git' 'gcc-go')
+options=('!strip' '!emptydirs')
+source=("git+$url#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  mkdir -p build/go && cd build/go
+  for f in "/usr/lib/go/"*; do ln -s "$f"; done
+  rm pkg && mkdir pkg && cd pkg
+  for f in "/usr/lib/go/pkg/"*; do ln -s "$f"; done
+
+  export GOPATH="$srcdir/build"
+  export GOROOT="$GOPATH/go"
+
+  mkdir -p "$GOPATH/src/${url#https://}"
+  mv "$srcdir/$pkgname"/* "$GOPATH/src/${url#https://}"
+}
+
+build() {
+  cd "$GOPATH/src/${url#https://}"
+
+  go build -o glide -ldflags "-X main.version=$pkgver" glide.go
+}
+
+package() {
+  cd "$GOPATH/src/${url#https://}"
+
+  install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/Masterminds/glide
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list