Package Details: todoist-git r326.45738fb-1

Git Clone URL: https://aur.archlinux.org/todoist-git.git (read-only, click to copy)
Package Base: todoist-git
Description: Todoist CLI Client, written in Golang.
Upstream URL: https://github.com/sachaos/todoist
Licenses: MIT
Conflicts: todoist, todoist-cli
Provides: todoist, todoist-cli
Submitter: hmnd
Maintainer: m-novikov (hmnd)
Last Packager: m-novikov
Votes: 0
Popularity: 0.000000
First Submitted: 2018-07-11 20:24 (UTC)
Last Updated: 2022-04-10 14:27 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Pinned Comments

hmnd commented on 2019-02-08 08:05 (UTC) (edited on 2019-02-08 08:05 (UTC) by hmnd)

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

Latest Comments

micwoj92 commented on 2021-03-10 04:25 (UTC)

upstream uses go modules now, that means that dep package should not be needed to build

ekkelett commented on 2019-09-11 12:22 (UTC) (edited on 2019-09-11 12:22 (UTC) by ekkelett)

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 (UTC)

It works nicely! Thanks, @hmnd!

hmnd commented on 2019-02-08 08:05 (UTC) (edited on 2019-02-08 08:05 (UTC) by hmnd)

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 (UTC)

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 (UTC) (edited on 2018-12-11 10:25 (UTC) by Perfi)

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().