Search Criteria
Package Details: hledger-web-bin 1.40-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/hledger-bin.git (read-only, click to copy) |
---|---|
Package Base: | hledger-bin |
Description: | Web-based user interface for the hledger accounting system |
Upstream URL: | http://hledger.org |
Keywords: | hledger ledger |
Licenses: | GPL |
Conflicts: | hledger-web |
Provides: | hledger-web |
Submitter: | ccat3z |
Maintainer: | dude |
Last Packager: | dude |
Votes: | 8 |
Popularity: | 1.64 |
First Submitted: | 2020-08-22 05:39 (UTC) |
Last Updated: | 2024-09-17 19:30 (UTC) |
Dependencies (5)
- gmp (gmp-hgAUR)
- ncurses5-compat-libsAUR
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-uutilsAUR, coreutils-hybridAUR) (make)
- asciinema (asciinema-gitAUR, acast-binAUR) (optional) – hledger demo support
Required by (0)
Sources (5)
- hledger-1.40.tar.gz
- https://raw.githubusercontent.com/simonmichael/hledger/hledger-1.40/hledger-ui/hledger-ui.1
- https://raw.githubusercontent.com/simonmichael/hledger/hledger-1.40/hledger-web/hledger-web.1
- https://raw.githubusercontent.com/simonmichael/hledger/hledger-1.40/hledger/hledger.1
- https://raw.githubusercontent.com/simonmichael/hledger/hledger-1.40/hledger/shell-completion/hledger-completion.bash
Latest Comments
1 2 3 4 Next › Last »
gesh commented on 2024-12-30 19:42 (UTC) (edited on 2024-12-30 19:56 (UTC) by gesh)
In reading the diff, just noticedEDIT: turns out pacman isn't smart enough to extractprepare()
contains an absolutely unnecessary extraction of a tar archive..tar.zip
files (in fact, the fact that it extracts one level at all is a coincidence --makepkg
tries to autodetect the archive type and seems to be accidentally detecting the underlying tar archive. Luckily,bsdtar -xf
can extract both zip and tar archives, but since zip files are themselves archives, it stops the extraction after one step (in contrast to eg.tar.xz
files)). On the other hand, Github is too stubborn to enable automatically uploading.tar.gz
files1, so upstream ended up going with.tar.zip
files2.Also, the new release packages the bash completion with it, no need to download it separately anymore. Hopefully, soon the manpages will also be distributed in the bindist, making the hardcoded urls unnecessary3
Also, the license is GPL-3+, see the manpage.
Also, you either want the split packages to work independently (in which case, independent copies of
hledger-completion.bash
should be shipped with each, instead of symlinking), or you want to make the-ui
and-web
variants depend on the vanillahledger
.Finally, are you sure the
ncurses5
andzlib
dependencies are necessary? The former is IIUC only needed for GHCs from more than 7 years ago4, and I can't find mention of the latter in the repo. Also,glibc
andcoreutils
are inbase
, there's no need to manually specify them.dbh97 commented on 2024-12-27 10:09 (UTC)
Here's 1.41 diff.
gesh commented on 2024-09-17 18:05 (UTC)
Note the installation instructions in the completion file -- it should be symlinked to also be pointed to by
/usr/share/bash-completion/completions/hledger-{ui,web}
. Currently, the only way to load the completion for eghledger-ui
is to first dohledger <TAB>
-- this will pull in the completion file, which will additionally configure completion forhledger-ui
andhledger-web
.dude commented on 2024-09-14 16:03 (UTC)
@tee Thanks, I've added that as an optdepends just now
tee commented on 2024-09-14 15:42 (UTC)
This optionally depends on asciinema, for
hledger demo 2
.gesh commented on 2024-09-10 19:08 (UTC)
Ah, right. I had considered that a static resource (i.e. not something making this a VCS package), but of course you're right to want to get the version of the completion at that tag. Also, TIL that syntax to get the file at a given tag, thanks!
dude commented on 2024-09-10 18:39 (UTC)
@gesh Fixed it for you...just needed to specify hledger-${pkgver} as the git tag, instead of the master branch.
dude commented on 2024-09-10 15:31 (UTC) (edited on 2024-09-10 15:38 (UTC) by dude)
@gesh Can you change your patch to pull hledger-completion.bash from the 1.40 source release rather than git master?
The restriction is noted here: https://wiki.archlinux.org/title/AUR_submission_guidelines#Rules_of_submission
gesh commented on 2024-09-10 15:17 (UTC)
I don't understand the reasoning for this restriction -- yes, this makes the PKGBUILD sensitive to changes to the completions, but they haven't changed in 2 years. I have prodded upstream on this, hopefully this gets resolved one way or the other https://github.com/simonmichael/hledger/issues/986
dude commented on 2024-09-10 09:13 (UTC)
@gesh Can't use files from a git repo for this, the source files need to be taken from an official tarball release. Because if the hledger-completion.bash file gets updated upstream, this package will fail to build (shasum will be different).
1 2 3 4 Next › Last »