[arch-commits] Commit in gx/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Jan 25 14:44:22 UTC 2019
Date: Friday, January 25, 2019 @ 14:44:21
Author: jelle
Revision: 427750
archrelease: copy trunk to community-x86_64
Added:
gx/repos/community-x86_64/PKGBUILD
(from rev 427749, gx/trunk/PKGBUILD)
Deleted:
gx/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 41 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-25 14:44:09 UTC (rev 427749)
+++ PKGBUILD 2019-01-25 14:44:21 UTC (rev 427750)
@@ -1,37 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Jakub "Kubuxu" Sztandera <kubuxu at protonmail.ch>
-
-pkgname=gx
-pkgver=0.14.1
-pkgrel=1
-
-pkgdesc="Packaging tool built around the distributed, content addressed filesystem IPFS"
-url="https://github.com/whyrusleeping/gx"
-arch=('x86_64')
-license=('MIT')
-
-makedepends=('git' 'go-pie')
-optdepends=('gx-go: gx packaing module for go')
-
-source=("git+https://github.com/whyrusleeping/gx.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- mkdir -p "$srcdir"/src/github.com/whyrusleeping/
- ln -fs "$srcdir/gx" "$srcdir"/src/github.com/whyrusleeping/gx
-}
-
-build() {
- # Required for go get
- export GOPATH="$srcdir"
- export GOBIN="$GOPATH/bin"
- cd "$srcdir"/src/github.com/whyrusleeping/gx
-
- go get -v
- go install -v
-}
-
-package() {
- install -Dm 755 bin/gx "$pkgdir/usr/bin/gx"
- install -Dm 644 gx/LICENSE "$pkgdir/usr/share/licenses/gx"
-}
Copied: gx/repos/community-x86_64/PKGBUILD (from rev 427749, gx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-25 14:44:21 UTC (rev 427750)
@@ -0,0 +1,41 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Jakub "Kubuxu" Sztandera <kubuxu at protonmail.ch>
+
+pkgname=gx
+pkgver=0.14.1
+pkgrel=2
+
+pkgdesc="Packaging tool built around the distributed, content addressed filesystem IPFS"
+url="https://github.com/whyrusleeping/gx"
+arch=('x86_64')
+license=('MIT')
+
+makedepends=('git' 'go-pie')
+optdepends=('gx-go: gx packaing module for go')
+
+source=("git+https://github.com/whyrusleeping/gx.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ mkdir -p "$srcdir"/src/github.com/whyrusleeping/
+ ln -fs "$srcdir/gx" "$srcdir"/src/github.com/whyrusleeping/gx
+}
+
+build() {
+ # Required for go get
+ export GOPATH="$srcdir"
+ export GOBIN="$GOPATH/bin"
+ cd "$srcdir"/src/github.com/whyrusleeping/gx
+
+ go get -v
+ go install \
+ -gcflags "all=-trimpath=$GOPATH" \
+ -asmflags "all=-trimpath=$GOPATH" \
+ -ldflags "-extldflags $LDFLAGS" \
+ -v
+}
+
+package() {
+ install -Dm 755 bin/gx "$pkgdir/usr/bin/gx"
+ install -Dm 644 gx/LICENSE "$pkgdir/usr/share/licenses/gx"
+}
More information about the arch-commits
mailing list