[arch-commits] Commit in hub/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Apr 17 21:53:11 UTC 2021
Date: Saturday, April 17, 2021 @ 21:53:11
Author: foxboron
Revision: 919848
upgpkg: hub 2.14.2-3: Go 1.16 rebuild
Modified:
hub/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-17 21:50:09 UTC (rev 919847)
+++ PKGBUILD 2021-04-17 21:53:11 UTC (rev 919848)
@@ -5,7 +5,7 @@
pkgname=hub
pkgver=2.14.2
-pkgrel=2
+pkgrel=3
pkgdesc="cli interface for Github"
url="https://hub.github.com"
@@ -15,10 +15,18 @@
depends=('git')
makedepends=('go')
-source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz")
-sha256sums=('e19e0fdfd1c69c401e1c24dd2d4ecf3fd9044aa4bd3f8d6fd942ed1b2b2ad21a')
-b2sums=('b0ff7bcebca7f4b515acf412b756da8512dad7c89f1976cc749c68d70303ff7172b6817e92c839c1864b55ac137e67cf1c99fa07e09b01fd76ad3d40be8d2163')
+source=("hub-$pkgver.tar.gz::https://github.com/github/hub/archive/v$pkgver.tar.gz"
+ "fix-tests.patch::https://github.com/github/hub/commit/f1170f982c414ec53ebf35ad3b250226ec18a952.patch")
+sha256sums=('e19e0fdfd1c69c401e1c24dd2d4ecf3fd9044aa4bd3f8d6fd942ed1b2b2ad21a'
+ 'a7d5ab7ea437353b818f4934987455ae9b0d883722015761fac4fe48fd3b5256')
+b2sums=('b0ff7bcebca7f4b515acf412b756da8512dad7c89f1976cc749c68d70303ff7172b6817e92c839c1864b55ac137e67cf1c99fa07e09b01fd76ad3d40be8d2163'
+ '2fe3848bae8c26d56f8a9fb0fa81902931f70b7ddf7ef31ed0f141c7b1e631561616b38f904a712d5de4d258b4c29bb0758f22763017959849c2f183eb0062d2')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ patch -Np1 < "$srcdir/fix-tests.patch"
+}
+
build() {
cd "$srcdir"/hub-$pkgver
More information about the arch-commits
mailing list