[arch-commits] Commit in baidupcs-go/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 9 15:22:19 UTC 2021
Date: Sunday, May 9, 2021 @ 15:22:19
Author: felixonmars
Revision: 929245
upgpkg: baidupcs-go 3.7.9-1
Modified:
baidupcs-go/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-09 15:22:13 UTC (rev 929244)
+++ PKGBUILD 2021-05-09 15:22:19 UTC (rev 929245)
@@ -1,8 +1,8 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=baidupcs-go
-pkgver=3.7.2
-pkgrel=2
+pkgver=3.7.9
+pkgrel=1
pkgdesc="Terminal utility for Baidu Network Disk"
arch=('x86_64')
url="https://github.com/qjfoidnh/BaiduPCS-Go"
@@ -11,9 +11,16 @@
makedepends=('go' 'git')
conflicts=("baidupcs")
provides=("baidupcs")
-source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('b3c92cbd3e406091fd14ffb8663b59d90992dcd705c16a3d3552300acef6f4bb854fa594f9031b757ed65129e16128e2c0c9919595026f101da3b2fdabf30242')
+source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+ $pkgname-go.sum-fix.patch::https://github.com/qjfoidnh/BaiduPCS-Go/commit/d5c53c92454cf63d52e9549b80f50c2b36749b4b.patch)
+sha512sums=('c0dd69b87891bd829f367da0f3d584086969b6ce576f4b39f61c09859d657b078c8b3aa2b84707cf66a51902fad2cc64440f52bd692f59f4843778ea41c2a539'
+ '7897d8c6495854f77d2fc50eb3051c60799152f95e9b137e383ebe4eac09d0774f72134f80fa416d80c892cf41a896280171095ee649824d1b96dfbceb94d09d')
+prepare() {
+ cd BaiduPCS-Go-$pkgver
+ patch -p1 -i ../$pkgname-go.sum-fix.patch
+}
+
build() {
cd BaiduPCS-Go-$pkgver
export GOFLAGS="-buildmode=pie -trimpath"
More information about the arch-commits
mailing list