Package Details: drive 0.4.0-2

Git Clone URL: https://aur.archlinux.org/drive.git (read-only, click to copy)
Package Base: drive
Description: CLI Google Drive client
Upstream URL: http://github.com/odeke-em/drive
Licenses: Apache
Submitter: flacks
Maintainer: harrietobrien
Last Packager: nka
Votes: 5
Popularity: 0.57
First Submitted: 2020-08-03 05:30 (UTC)
Last Updated: 2022-11-12 14:34 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

nka commented on 2022-11-12 14:36 (UTC)

@jb1 this should be fixed, but be aware that the upstream package does not seem to be maintained anymore. I don't use it anymore. I will disown it.

<deleted-account> commented on 2022-11-12 13:50 (UTC)

The PKGBUILD needs some changes to compile:

--- PKGBUILD~   2022-11-12 13:46:08.967511063 +0000
+++ PKGBUILD    2022-11-12 13:46:04.824453311 +0000
@@ -14,10 +14,10 @@

 build() {
   cd $pkgname-$pkgver
-  export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
-  GOPATH="$srcdir"/$pkgname-$pkgver go get -v -x \
+  export GOFLAGS='-buildmode=pie -trimpath -modcacherw'
+  GOPATH="$srcdir"/$pkgname-$pkgver go install -v -x \
     -ldflags "-extldflags \"${LDFLAGS}\"" \
-    github.com/odeke-em/$pkgname/cmd/$pkgname
+    github.com/odeke-em/$pkgname/cmd/$pkgname@latest
 }

 package() {

RubenKelevra commented on 2022-06-04 20:50 (UTC)

==> Starting build()...
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'drive-0.4.0-1': 
error: packages failed to build: drive-0.4.0-1