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

Johannes Löthberg demize at archlinux.org
Wed Nov 28 20:54:01 UTC 2018


    Date: Wednesday, November 28, 2018 @ 20:54:00
  Author: demize
Revision: 410474

archrelease: copy trunk to community-x86_64

Added:
  gx-go/repos/community-x86_64/PKGBUILD
    (from rev 410473, gx-go/trunk/PKGBUILD)
Deleted:
  gx-go/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-28 20:53:56 UTC (rev 410473)
+++ PKGBUILD	2018-11-28 20:54:00 UTC (rev 410474)
@@ -1,44 +0,0 @@
-# Contributor: Johannes Löthberg <johannes at kyriasis.com>
-# Maintainer: Jakub "Kubuxu" Sztandera  <kubuxu at protonmail.ch>
-
-pkgname=gx-go
-pkgver=1.7.0
-pkgrel=1
-
-pkgdesc="A tool to use with the gx package manager for packages written in go"
-url="https://github.com/whyrusleeping/gx-go"
-arch=('x86_64')
-license=('MIT')
-
-makedepends=('git' 'go-pie')
-depends=('glibc' 'go')
-
-source=("git+https://github.com/whyrusleeping/gx-go.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  mkdir -p "$srcdir"/src/github.com/whyrusleeping/
-  ln -fs "$srcdir/gx-go" "$srcdir"/src/github.com/whyrusleeping/gx-go
-}
-
-build() {
-  # Required for go get
-  export GOPATH="$srcdir"
-  export GOBIN="$GOPATH/bin"
-  cd "$srcdir"/src/github.com/whyrusleeping/gx-go
-
-  msg2 'Installing dependencies...'
-  go get -v
-
-  msg2 'Building binary...'
-  go install -v
-}
-
-package() {
-  msg2 'Packaging binary...'
-  install -Dm 755 bin/gx-go "${pkgdir}/usr/bin/gx-go"
-
-  msg2 'Packaging auxiliary files...'
-  cd gx-go
-  install -Dm 644 -t "${pkgdir}/usr/share/licenses/gx-go" LICENSE
-}

Copied: gx-go/repos/community-x86_64/PKGBUILD (from rev 410473, gx-go/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-28 20:54:00 UTC (rev 410474)
@@ -0,0 +1,37 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Jakub "Kubuxu" Sztandera  <kubuxu at protonmail.ch>
+
+pkgname=gx-go
+pkgver=1.9.0
+pkgrel=1
+
+pkgdesc="A tool to use with the gx package manager for packages written in go"
+url="https://github.com/whyrusleeping/gx-go"
+arch=('x86_64')
+license=('MIT')
+
+makedepends=('git' 'go-pie')
+depends=('glibc')
+
+source=("git+https://github.com/whyrusleeping/gx-go.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  mkdir -p "$srcdir"/src/github.com/whyrusleeping/
+  ln -fs "$srcdir/gx-go" "$srcdir"/src/github.com/whyrusleeping/gx-go
+}
+
+build() {
+  # Required for go get
+  export GOPATH="$srcdir"
+  export GOBIN="$GOPATH/bin"
+  cd "$srcdir"/src/github.com/whyrusleeping/gx-go
+
+  go get -v
+  go install -v
+}
+
+package() {
+  install -Dm 755 bin/gx-go "${pkgdir}/usr/bin/gx-go"
+  install -Dm 644 -t "${pkgdir}/usr/share/licenses/gx-go" gx-go/LICENSE
+}



More information about the arch-commits mailing list