Package Details: todoist-git r196.a73b330-1

Git Clone URL: https://aur.archlinux.org/todoist-git.git (read-only)
Package Base: todoist-git
Description: Todoist CLI Client, written in Golang.
Upstream URL: https://github.com/sachaos/todoist
Licenses: MIT
Submitter: hmnd
Maintainer: hmnd (cweagans)
Last Packager: hmnd
Votes: 1
Popularity: 0.006232
First Submitted: 2018-07-11 20:24
Last Updated: 2019-02-08 08:03

Dependencies (4)

Required by (0)

Sources (1)

Pinned Comments

hmnd commented on 2019-02-08 08:05

I have now added what is required to make go 1.11 modules work. Let me know if that works for you.

Latest Comments

ekkelett commented on 2019-09-11 12:22

Adding Todoist as a conflict for the package.

diff --git a/todoist-git/PKGBUILD b/todoist-git/PKGBUILD
index ff61906..628d0f4 100644
--- a/todoist-git/PKGBUILD
+++ b/todoist-git/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: David Roizenman <david@hmnd.io>
+# Contributor: Thor K. Høgås <thor at roht no>

 _pkgname=todoist
 pkgname=${_pkgname}-git
-pkgver=r196.a73b330
+pkgver=r261.eb0456d
 pkgrel=1
 pkgdesc="Todoist CLI Client, written in Golang."
 arch=('x86_64' 'i686')
@@ -13,6 +14,8 @@ optdepends=('peco: for zsh functions script')
 options=('!strip' '!emptydirs')
 source=("${pkgname}::git://github.com/sachaos/todoist.git")
 md5sums=('SKIP')
+provides=('todoist')
+conflicts=('todoist')

 pkgver() {
   cd "$pkgname"

Perfi commented on 2019-02-11 11:29

It works nicely! Thanks, @hmnd!

hmnd commented on 2019-02-08 08:05

I have now added what is required to make go 1.11 modules work. Let me know if that works for you.

s777n commented on 2018-12-15 18:56

In go 1.11 they have added modules and default behavior is just to ignore them. I could successfully built it after I have added "export GO111MODULE=on" to build() in PKGBUILD. But I have no idea is it good practice or not because I have zero experience with golang.

Perfi commented on 2018-12-11 10:25

Doesn't seem to build:

==> Starting build()... go get golang.org/x/tools/cmd/goyacc go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src; ignoring go.mod; see 'go help modules' goyacc -o filter_parser.go filter_parser.y

conflicts: 4 shift/reduce go install format.go:8:2: cannot find package "github.com/fatih/color" in any of: /usr/lib/go/src/github.com/fatih/color (from $GOROOT) /home/dominik/.cache/aurman/todoist-git/src/go/src/github.com/fatih/color (from $GOPATH) show.go:6:2: cannot find package "github.com/pkg/browser" in any of: /usr/lib/go/src/github.com/pkg/browser (from $GOROOT) /home/dominik/.cache/aurman/todoist-git/src/go/src/github.com/pkg/browser (from $GOPATH) lib/command.go:7:2: cannot find package "github.com/satori/go.uuid" in any of: /usr/lib/go/src/github.com/satori/go.uuid (from $GOROOT) /home/dominik/.cache/aurman/todoist-git/src/go/src/github.com/satori/go.uuid (from $GOPATH) main.go:15:2: cannot find package "github.com/spf13/viper" in any of: /usr/lib/go/src/github.com/spf13/viper (from $GOROOT) /home/dominik/.cache/aurman/todoist-git/src/go/src/github.com/spf13/viper (from $GOPATH) add.go:9:2: cannot find package "github.com/urfave/cli" in any of: /usr/lib/go/src/github.com/urfave/cli (from $GOROOT) /home/dominik/.cache/aurman/todoist-git/src/go/src/github.com/urfave/cli (from $GOPATH) make: *** [Makefile:3: install] Error 1 ==> ERROR: A failure occurred in build().