[arch-commits] Commit in gx-go/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Wed Nov 28 20:53:56 UTC 2018
Date: Wednesday, November 28, 2018 @ 20:53:56
Author: demize
Revision: 410473
upgpkg: gx-go 1.9.0-1
Modified:
gx-go/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-28 20:49:48 UTC (rev 410472)
+++ PKGBUILD 2018-11-28 20:53:56 UTC (rev 410473)
@@ -1,8 +1,8 @@
-# Contributor: Johannes Löthberg <johannes at kyriasis.com>
-# Maintainer: Jakub "Kubuxu" Sztandera <kubuxu at protonmail.ch>
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Jakub "Kubuxu" Sztandera <kubuxu at protonmail.ch>
pkgname=gx-go
-pkgver=1.7.0
+pkgver=1.9.0
pkgrel=1
pkgdesc="A tool to use with the gx package manager for packages written in go"
@@ -11,7 +11,7 @@
license=('MIT')
makedepends=('git' 'go-pie')
-depends=('glibc' 'go')
+depends=('glibc')
source=("git+https://github.com/whyrusleeping/gx-go.git#tag=v$pkgver")
md5sums=('SKIP')
@@ -27,18 +27,11 @@
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
+ install -Dm 644 -t "${pkgdir}/usr/share/licenses/gx-go" gx-go/LICENSE
}
More information about the arch-commits
mailing list