39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
# Template file for 'hledger'
|
|
pkgname=hledger
|
|
version=1.25
|
|
revision=1
|
|
build_style=haskell-stack
|
|
stackage="lts-19.0"
|
|
makedepends="zlib-devel ncurses-devel"
|
|
short_desc="Simple, precise, plain text accounting"
|
|
maintainer="Inokentiy Babushkin <twk@twki.de>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://hledger.org/"
|
|
changelog="https://hackage.haskell.org/package/hledger-${version}/changelog"
|
|
distfiles="https://github.com/simonmichael/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=4c947c2a7d243d2a56efc1fa02994a118e995df025a412f6d2daeadfd78338ee
|
|
nopie_files="/usr/bin/hledger"
|
|
nocross=yes # Can't yet cross compile Haskell
|
|
|
|
post_install() {
|
|
vman hledger/hledger.1
|
|
}
|
|
|
|
hledger-ui_package() {
|
|
nopie_files="/usr/bin/hledger-ui"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/hledger-ui
|
|
vman hledger-ui/hledger-ui.1
|
|
}
|
|
}
|
|
|
|
hledger-web_package() {
|
|
nopie_files="/usr/bin/hledger-web"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/bin/hledger-web
|
|
vman hledger-web/hledger-web.1
|
|
}
|
|
}
|