[arch-commits] Commit in baidupcs-go/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Jan 29 18:06:31 UTC 2022


    Date: Saturday, January 29, 2022 @ 18:06:30
  Author: felixonmars
Revision: 1119857

archrelease: copy trunk to community-x86_64

Added:
  baidupcs-go/repos/community-x86_64/PKGBUILD
    (from rev 1119856, baidupcs-go/trunk/PKGBUILD)
Deleted:
  baidupcs-go/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   59 ++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 30 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-29 18:06:21 UTC (rev 1119856)
+++ PKGBUILD	2022-01-29 18:06:30 UTC (rev 1119857)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=baidupcs-go
-pkgver=3.8.4
-pkgrel=1
-pkgdesc="Terminal utility for Baidu Network Disk"
-arch=('x86_64')
-url="https://github.com/qjfoidnh/BaiduPCS-Go"
-license=('Apache')
-depends=('glibc')
-makedepends=('go' 'git')
-conflicts=("baidupcs")
-provides=("baidupcs")
-source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('b8d5d7a91f3df620f241515c2703f6d41b64959f4fb29abf9daf89b6c1338dd00729561f597275a86b28b29d6c978bc446293b4aebef30f5eceb015e96c625db')
-
-build() {
-  cd BaiduPCS-Go-$pkgver
-  export GOFLAGS="-buildmode=pie -trimpath"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  go build -o baidupcs-go
-}
-
-package() {
-  cd BaiduPCS-Go-$pkgver
-  install -Dm755 baidupcs-go "$pkgdir"/usr/bin/baidupcs
-}

Copied: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 1119856, baidupcs-go/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-29 18:06:30 UTC (rev 1119857)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=baidupcs-go
+pkgver=3.8.5
+pkgrel=1
+pkgdesc="Terminal utility for Baidu Network Disk"
+arch=('x86_64')
+url="https://github.com/qjfoidnh/BaiduPCS-Go"
+license=('Apache')
+options=('!lto')
+depends=('glibc')
+makedepends=('go' 'git')
+conflicts=("baidupcs")
+provides=("baidupcs")
+source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('6f07ca4f5d2980914c08f3089e7c539d510baf65dcf40560263a0edbd5a67d9394d3c61e98ba137c39e3a381b1a390cee255179eff6822e3431e8bdd8cad6c8b')
+
+build() {
+  cd BaiduPCS-Go-$pkgver
+  export GOFLAGS="-buildmode=pie -trimpath"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  go build -o baidupcs-go
+}
+
+package() {
+  cd BaiduPCS-Go-$pkgver
+  install -Dm755 baidupcs-go "$pkgdir"/usr/bin/baidupcs
+}



More information about the arch-commits mailing list