Browse Source

hub: Update from 2.12.7 to 2.12.8

android-5
Fredrik Fornwall 5 years ago
parent
commit
6b6aaa5db6
  1. 4
      packages/hub/build.sh
  2. 12
      packages/hub/script-build.patch

4
packages/hub/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://hub.github.com/
TERMUX_PKG_DESCRIPTION="Command-line wrapper for git that makes you better at GitHub"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=2.12.7
TERMUX_PKG_VERSION=2.12.8
TERMUX_PKG_SRCURL=https://github.com/github/hub/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=53d812b09aed87c49cc62d09a8827c2dfe7b776732b71287b800320bd23ea028
TERMUX_PKG_SHA256=72d09397967c85b118fc1be25dc0fc54353f4dea09f804687a287949c7de7ebe
TERMUX_PKG_DEPENDS="git"
termux_step_make_install() {

12
packages/hub/script-build.patch

@ -1,12 +0,0 @@
diff -uNr hub-2.12.1/script/build hub-2.12.1.mod/script/build
--- hub-2.12.1/script/build 2019-06-28 23:19:41.000000000 +0300
+++ hub-2.12.1.mod/script/build 2019-06-29 17:10:47.759789557 +0300
@@ -15,7 +15,7 @@
mkdir -p "$(dirname "$1")"
go build \
$MOD_VENDOR_ARG \
- -ldflags "-X github.com/github/hub/version.Version=`./script/version` $LDFLAGS" \
+ -ldflags "-X github.com/github/hub/version.Version=`./script/version`" \
-gcflags "$GCFLAGS" \
-asmflags "$ASMFLAGS" \
-o "$1"
Loading…
Cancel
Save