[arch-commits] Commit in baidupcs-go/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sat Apr 17 21:08:26 UTC 2021
Date: Saturday, April 17, 2021 @ 21:08:26
Author: foxboron
Revision: 919828
archrelease: copy trunk to community-x86_64
Added:
baidupcs-go/repos/community-x86_64/PKGBUILD
(from rev 919827, baidupcs-go/trunk/PKGBUILD)
Deleted:
baidupcs-go/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-17 21:08:17 UTC (rev 919827)
+++ PKGBUILD 2021-04-17 21:08:26 UTC (rev 919828)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=baidupcs-go
-pkgver=3.7.2
-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=('b3c92cbd3e406091fd14ffb8663b59d90992dcd705c16a3d3552300acef6f4bb854fa594f9031b757ed65129e16128e2c0c9919595026f101da3b2fdabf30242')
-
-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 919827, baidupcs-go/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-17 21:08:26 UTC (rev 919828)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=baidupcs-go
+pkgver=3.7.2
+pkgrel=2
+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=('b3c92cbd3e406091fd14ffb8663b59d90992dcd705c16a3d3552300acef6f4bb854fa594f9031b757ed65129e16128e2c0c9919595026f101da3b2fdabf30242')
+
+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