You are not logged in.

#1 2006-01-02 15:31:21

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Ledger - CLI accounting tool

'Ledger is an accounting tool with the moxie to exist. It provides no bells or whistles, and returns the user to the days before user interfaces were even a twinkling in their father's CRT. What it does offer is a double-entry accounting ledger with all the flexibility and muscle of its modern day cousins, without any of the fat. Think of it as the Bran Muffin of accounting tools.'

http://sourceforge.net/projects/ledger

Any volunteers?


.oO Komodo Dave Oo.

Offline

#2 2006-01-02 18:06:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Ledger - CLI accounting tool

Doing a test build now - I'll post  a PKGBUILD later this evening.

Offline

#3 2006-01-02 18:26:31

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Ledger - CLI accounting tool

Legend, cheers tomk big_smile


.oO Komodo Dave Oo.

Offline

#4 2006-01-03 00:22:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Ledger - CLI accounting tool

OK, here we go:

# Contributor: Tom K <tomk@runbox.com>

pkgname=ledger
pkgver=2.4.1
pkgrel=1        
pkgdesc="CLI double-enty accounting tool"
depends=('gmp' 'pcre' 'expat')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('5c0b653ef3298b9fb851c372c604c509')
url="http://ledger.sourceforge.net/"

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make DESTDIR=$startdir/pkg install
}

ledger does not provide man pages - instead, there's a large (137K) info manual. As you're probably aware, Arch doesn't do info, so all you'll get from this PKGBUILD is the inbuilt help i.e. ledger -h (short version) or ledger -H (long version).

AFAIR, there is an info2man app in the AUR - if you really need the info stuff, we might be able to do it that way. Try it out anyway, and let me know.

Offline

#5 2006-01-03 01:01:22

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Ledger - CLI accounting tool

I can manage without the infopage thanks tomk; if you just type 'ledger' it gives you a fair bit of info anyway, and perhaps the infopage can be located online if necessary.

Many thanks for making the PKBUILD tomk, I'm very grateful to you for doing so. I can often make my own PKGBUILDS very easily, but since I know no C, I worry that if I run into problems I'll be screwed :?

Are you interested in participating in our programming competition?

http://bbs.archlinux.org/viewtopic.php? … highlight=


.oO Komodo Dave Oo.

Offline

#6 2006-01-03 01:34:58

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Ledger - CLI accounting tool

You're making me feel very reckless here. You don't package because you don't know C? I don't even know bash (not very well anyway), let alone C, perl, python, or anything else. I do know how to cog from other PKGBUILDs though, which accounts for all 14 of my AUR submissions, and a few strays that didn't meet the guidelines (they're around here somewhere...). tongue

If you reckon ledger is OK, I'll AUR it - not being an accountant myself, I wouldn't know. wink

Re the programming comp, I appreciate the invite, but bearing in mind my lack of ability (see above), I plan to "nod along" for most of it - if I pick something up, that's a bonus. big_smile

Offline

#7 2006-01-03 01:57:45

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: Ledger - CLI accounting tool

lol, ok fair play tomk.

I think ledger's fine by the looks of things; it should be ok for AUR.


.oO Komodo Dave Oo.

Offline

#8 2006-01-03 11:06:44

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Ledger - CLI accounting tool

Cool - it's there now.

Offline

Board footer

Powered by FluxBB