Package Details: gdrive 1.8.0-1

Package Base: gdrive
Description: Command line utility for uploading and downloading single files to your Google Drive
Upstream URL: https://github.com/prasmussen/gdrive
Category: network
Licenses: MIT
Submitter: kleinph
Maintainer: kleinph
Last Packager: kleinph
Votes: 5
First Submitted: 2015-03-24 10:07
Last Updated: 2015-06-10 18:55

Dependencies (3)

Required by (0)

Sources

Latest Comments

Comment by kleinph

2015-06-10 18:56

I updated now to 1.8.0 and it builds fine at the moment. I also supplied the package to AUR 4 (https://aur4.archlinux.org/packages/gdrive/)

Comment by kleinph

2015-06-10 17:28

Yeah, the first PKGBUILD built fine, because it only copies a prebuilt binary to its destination.

The git version builds fine, because the author adapts the source to changes in the used libs. My package intends to build a fixed version which is tagged in the source, but there is AFAIK no info which lib version are needed (and also no way to restrict to those version).

But I see it is outdated anyway, maybe 1.8 will build fine.

Comment by willemw

2015-06-10 17:08

Is the current PKGBUILD correct? I think the old PKGBUILD you refer to is installing the correct version (i.e. "pkgver"): the correct version of gdrive, including the correct versions of the dependent source code projects/repos.

Package gdrive-git seems to build just fine. Could that mean there are no dependency issues?

Comment by kleinph

2015-06-10 12:46

The package is not building at the moment, due to dependency issues (this seems to be a real problem in go). I filed a issue for that (https://github.com/prasmussen/gdrive/issues/64) upstream.
At the meantime you can use the old PKGBUILD (https://github.com/kleinph/gdrive-pgkbuild/commit/e5d5e93a5e4935c6be24d85bf875554a9f66d5f7)

Comment by kleinph

2015-05-16 10:07

@willemw

ad 1) yep will use the github releases feature
ad 2) good point. It seems that go has no real dependency management here or is there one I just dont know?

Comment by willemw

2015-05-16 09:40

I've created a git version of gdrive: https://aur.archlinux.org/packages/gdrive-git/

About your pastebin example:
- Could use something like 'source=("http://SERVER/$pkgname/$pkgname-$pkgver.tar.gz")' to download the source code.
- 'go get' also downloads from the other dependent source code repos (but always the latest versions? Is that OK?)

Comment by kleinph

2015-05-15 21:58

I would go with something like this: http://pastebin.com/gGmfDYue

Comment by kleinph

2015-05-13 21:36

Hm, I don't think this is a good PKGBUILD. Anyway arch linux has guidelines for go packes https://wiki.archlinux.org/index.php/Go_package_guidelines. So I will do a new PKGBUILD based on this.

Comment by greyltc

2015-05-13 14:24

I think this is a good template: https://aur.archlinux.org/packages/dr/drive/PKGBUILD

Comment by kleinph

2015-05-13 14:22

That would be nice. Thanks!

All comments