summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikołaj Baranowski2017-05-24 12:34:59 +0200
committerMikołaj Baranowski2017-05-24 12:34:59 +0200
commitb9cf1827909f5fd9d421f560b09d88df50fe5d64 (patch)
tree80e984c927cb36ba5b1d5fc950110d5ebd6a897d
parent482340c09cfd75c59c77985c767620ffc35314ee (diff)
downloadaur-b9cf1827909f5fd9d421f560b09d88df50fe5d64.tar.gz
update to version 2.0.2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD14
2 files changed, 14 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0e327adf8c6..5bb2588fcb9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = dbxcli
pkgdesc = A command line client for Dropbox built using the Go SDK
- pkgver = 2.0.1
+ pkgver = 2.0.2
pkgrel = 1
url = https://github.com/dropbox/dbxcli
arch = x86_64
arch = i686
license = Apache
makedepends = go
- source = https://github.com/dropbox/dbxcli/archive/v2.0.1.zip
- md5sums = eed40a3d763f0390bd67d96d90681e50
+ source = https://github.com/dropbox/dbxcli/archive/v2.0.2.zip
+ sha256sums = b6a89285857a6e5ed5d9a6949569bf0b6e5998872ef9476b97e037acf5c7f3ae
pkgname = dbxcli
diff --git a/PKGBUILD b/PKGBUILD
index 40d099df56b..f24354c79a1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,11 @@
# Maintainer: Mikołaj Baranowski <mikolajb@gmail.com>
+# Create your own app at https://www.dropbox.com/developers/apps/create
+# and execute makepkg as following:
+# PERSONALAPPKEY=personal_app_key PERSONALAPPSECRET=personal_app_secret makepkg
+
pkgname=dbxcli
-pkgver=2.0.1
+pkgver=2.0.2
pkgrel=1
pkgdesc='A command line client for Dropbox built using the Go SDK'
license=('Apache')
@@ -9,16 +13,20 @@ arch=('x86_64' 'i686')
url='https://github.com/dropbox/dbxcli'
depends=()
makedepends=('go')
+ldflags=" -X github.com/dropbox/dbxcli/cmd.personalAppKey=${PERSONALAPPKEY}"
+ldflags+=" -X github.com/dropbox/dbxcli/cmd.personalAppSecret=${PERSONALAPPSECRET}"
source=("https://github.com/dropbox/dbxcli/archive/v${pkgver}.zip")
-md5sums=('eed40a3d763f0390bd67d96d90681e50')
+sha256sums=('b6a89285857a6e5ed5d9a6949569bf0b6e5998872ef9476b97e037acf5c7f3ae')
build() {
msg2 'Compiling...'
mkdir -p ${srcdir}/src/github.com/dropbox
mv -f ${pkgname}-${pkgver} ${srcdir}/src/github.com/dropbox/${pkgname}
- GOPATH=${srcdir} go build -o ${pkgname} github.com/dropbox/${pkgname}
+ GOPATH=${srcdir} go build \
+ -ldflags="${ldflags}" \
+ -o ${pkgname} github.com/dropbox/${pkgname}
}
package() {