Package Details: hledger-git 20191113-2

Git Clone URL: (read-only, click to copy)
Package Base: hledger-git
Description: The hledger command-line and web-based accounting tool
Upstream URL:
Licenses: GPL3
Conflicts: hledger, hledger-ui, hledger-web
Provides: hledger, hledger-ui, hledger-web
Submitter: atweiden
Maintainer: harrisonthorne
Last Packager: harrisonthorne
Votes: 10
Popularity: 0.000067
First Submitted: 2015-11-17 19:39
Last Updated: 2020-03-05 23:11

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

entidi commented on 2020-03-26 08:44

@harrisonthorne Sorry for the late reply: I did not see your answer.

The package did not update automatically: I had to manually force the installation to trigger the building, probably because in the last commit you also changed pkgver to an older version.

Other than that, the package now builds just fine (at least on my system).

harrisonthorne commented on 2020-03-05 22:29

@entidi Just pushed a fix bumping pkgrel to 2. Give it a shot and let me know if it still doesn't work. :)

entidi commented on 2020-03-03 07:26

@harrisonthorne For some reason this package it is still depending on haskell-stack (you can see that on the AUR page) and my AUR helper tool (yay) is unable to install it. Manually using makepkg instead seems to work as expected ("seems" because I'm still building it).

Can you bump pkgrel to 2 to see if this solves the issue?

harrisonthorne commented on 2019-11-18 06:34

The 'haskell-stack' dependency needs to be changed to 'stack' I believe. The build doesn't work with the currently missing 'haskell-stack' dep.

Edit: I've adopted this package and have fixed the dependency issue. I'm new to this whole process, so please feel free to point out any mistakes I make :)

nurfz commented on 2019-01-27 10:26

Would the package maintainer for this package add some lines to install the bash completion script for the next release of hledger?

The source code of hledger has the file shell-completion/hledger-completion.bash

It's in

Can this be installed into /etc/bash_completion.d or /usr/local/etc/bash_completion.d (I'm not sure how this is normally done)?

Thank you!

fbn commented on 2017-10-06 00:03

The haskell-stack dependency package has been removed, so it's impossible to build this package.
I couldn't compile hledger using stack from the arch repo. But stack-static(AUR) and libtinfo(AUR, to fix -ltinfo issues) works!

xrvdg commented on 2017-01-09 12:19

@NinjaKoala which architecture do you run? Furthermore, could you post your output of `ldd /usr/bin/hledger`. It looks like you had to use ncurses ABI 5 while my installation uses the ncurses provided in the core repository.

NinjaKoala commented on 2017-01-04 16:05

Could you add libtinfo as dependency?
It didn't compile without it for me.

JeffreyA commented on 2017-01-01 18:45

Got a similar error to RunningDroid. The first time I ran makepkg, the ghc stack was installed as a dependency. I suspect the error has something to do with an unconfigured environment after ghc is installed. Not sure if this is something that should be fixed in this package, or in ghc. Blindly ran the command the error suggested and now running makepkg again, seems to be compiling okay.

mrjn commented on 2016-11-03 01:29

Still unable to install hledger-git. Failing with this:

==> Continue building hledger-git ? [Y/n]
==> -------------------------------------
==> Building and installing package
==> Making package: hledger-git 20160907-1 (Thu Nov 3 12:26:39 AEDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning hledger git repo...
Cloning into bare repository '/tmp/yaourt-tmp-mrjn/aur-hledger-git/hledger'...
remote: Counting objects: 30511, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 30511 (delta 7), reused 0 (delta 0), pack-reused 30493
Receiving objects: 100% (30511/30511), 26.33 MiB | 2.49 MiB/s, done.
Resolving deltas: 100% (20554/20554), done.
==> Validating source files with sha256sums...
hledger ... Skipped
==> Extracting sources...
-> Creating working copy of hledger git repo...
Cloning into 'hledger'...
==> Starting pkgver()...
==> Updated version: hledger-git 20161102-1
==> Entering fakeroot environment...
==> Starting package()...
mv: cannot stat 'stack-ghc8.yaml': No such file or directory
==> ERROR: A failure occurred in package().
==> ERROR: Makepkg was unable to build hledger-git.
==> Restart building hledger-git ? [y/N]
==> ------------------------------------