[arch-commits] Commit in hub/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Thu Oct 12 17:47:19 UTC 2017
Date: Thursday, October 12, 2017 @ 17:47:19
Author: demize
Revision: 262475
go-pie rebuild
Modified:
hub/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-12 17:46:07 UTC (rev 262474)
+++ PKGBUILD 2017-10-12 17:47:19 UTC (rev 262475)
@@ -5,7 +5,7 @@
pkgname=hub
pkgver=2.2.9
-pkgrel=1
+pkgrel=2
pkgdesc="cli interface for Github"
url="https://hub.github.com"
@@ -13,14 +13,13 @@
license=('MIT')
depends=('git')
-makedepends=('go')
+makedepends=('go-pie')
-_source_dir=github-hub-80948b0
source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
-sha256sums=('9b94086ad52bf724c78b62568931027e01499f8c4e5b0aae476417c856bf7a98')
+sha256sums=('b3f949c4500288a18ed68c38755962c9571c9e10063fb77583a19d0fcca5ecdf')
build() {
- cd $_source_dir
+ cd hub-$pkgver
./script/build
gzip --best -c man/hub.1> hub.1.gz
@@ -28,7 +27,7 @@
}
package() {
- cd $_source_dir
+ cd hub-$pkgver
install -Dm755 bin/hub "$pkgdir"/usr/bin/hub
More information about the arch-commits
mailing list