diff options
author | Julius Gonsior | 2018-01-26 15:13:23 +0100 |
---|---|---|
committer | Julius Gonsior | 2018-01-26 15:13:23 +0100 |
commit | 2a2c9519b51720cc67b09b31c66021af06486309 (patch) | |
tree | 7488469fd5a38ece553a605134af74eb8cca0d92 | |
download | aur-2a2c9519b51720cc67b09b31c66021af06486309.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 37 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7285a228d4ec --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = buchhaltung-git + pkgdesc = The ledger helper buchhaltung tool + pkgver = 20180121 + pkgrel = 1 + url = https://johannesgerer.com/software/#buchhaltung + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + makedepends = stack + optdepends = aqbanking: Required for direct retrieval of bank transcations via FinTS/HBCI/EBICS (Germany) or OFXDirectConnect (USA, Canada, UK) + optdepends = dbacl: Bayesian classifier used to match transaction to accounts. + optdepends = hledger: for quering the ledger, create balance and report statements, web interface, etc. + provides = buchhaltung + options = strip + source = git+https://github.com/johannesgerer/buchhaltung + sha256sums = SKIP + +pkgname = buchhaltung-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..775684a115c8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Julius Gonsior <aur@gaenseri.ch> +# Contributor: Julius Gonsior <aur@gaenseri.ch> + +pkgname=buchhaltung-git +pkgver=20180121 +pkgrel=1 +pkgdesc="The ledger helper buchhaltung tool" +arch=('i686' 'x86_64') +makedepends=('git' 'stack') +url="https://johannesgerer.com/software/#buchhaltung" +license=('MIT') +options=('strip') +source=(git+https://github.com/johannesgerer/buchhaltung) +sha256sums=('SKIP') +provides=('buchhaltung') +optdepends=('aqbanking: Required for direct retrieval of bank transcations via FinTS/HBCI/EBICS (Germany) or OFXDirectConnect (USA, Canada, UK)' +'dbacl: Bayesian classifier used to match transaction to accounts. ' +'hledger: for quering the ledger, create balance and report statements, web interface, etc.') + +pkgver() { + cd ${pkgname%-git} + git log -1 --format="%cd" --date=short | sed "s|-||g" +} + +package() { + cd ${pkgname%-git} + + msg2 'Installing license...' + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/buchhaltung" + + msg2 'Installing...' + mkdir -p "$pkgdir/usr/bin" + stack --local-bin-path "$pkgdir/usr/bin" install + + msg2 'Cleaning up pkgdir...' + find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' + +} |