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

Felix Yan felixonmars at gemini.archlinux.org
Sat Mar 12 21:31:26 UTC 2022


    Date: Saturday, March 12, 2022 @ 21:31:25
  Author: felixonmars
Revision: 1150246

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-12 21:31:15 UTC (rev 1150245)
+++ PKGBUILD	2022-03-12 21:31:25 UTC (rev 1150246)
@@ -1,30 +0,0 @@
-# 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
-}

Copied: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 1150245, baidupcs-go/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-12 21:31:25 UTC (rev 1150246)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=baidupcs-go
+pkgver=3.8.6
+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=('00733c28bab07d66440f23a9a2eb5c7f9a28e0d2421900b9e012f2f72342bf2738a9949f2d5cb4fd3830c7430b6aaee69eed6d0e7132ef0d889095bb8a833e7e')
+
+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