[arch-commits] Commit in glide/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Jul 13 15:11:01 UTC 2019
Date: Saturday, July 13, 2019 @ 15:11:01
Author: arojas
Revision: 489370
archrelease: copy trunk to community-x86_64
Added:
glide/repos/community-x86_64/PKGBUILD
(from rev 489369, glide/trunk/PKGBUILD)
Deleted:
glide/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-07-13 15:10:41 UTC (rev 489369)
+++ PKGBUILD 2019-07-13 15:11:01 UTC (rev 489370)
@@ -1,42 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: fanningert <thomas at fanninger.at>
-
-pkgname=glide
-pkgver=0.13.2
-pkgrel=2
-pkgdesc='Dependency management and vendoring for Go projects'
-arch=('x86_64')
-url='https://github.com/Masterminds/glide'
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('gcc-go' 'git')
-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:
Copied: glide/repos/community-x86_64/PKGBUILD (from rev 489369, glide/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-07-13 15:11:01 UTC (rev 489370)
@@ -0,0 +1,43 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: fanningert <thomas at fanninger.at>
+
+pkgname=glide
+pkgver=0.13.3
+pkgrel=1
+pkgdesc='Dependency management and vendoring for Go projects'
+arch=('x86_64')
+url='https://github.com/Masterminds/glide'
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('gcc-go' 'git')
+options=('!strip' '!emptydirs')
+_commit=8ed5b9292379d86c39592a7e6a58eb9c903877cf # tags/v0.13.3^0
+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