blob: d3679603ff3f9f4d4a2dbc7d5e781300a145221f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=ledger
pkgver=3.1.1
pkgrel=1
pkgdesc="Double-entry accounting system with a command-line reporting interface"
url="https://www.ledger-cli.org/"
arch="all"
license="BSD"
makedepends="cmake boost-dev gmp-dev mpfr-dev texinfo graphviz doxygen gettext"
subpackages="$pkgname-doc"
options="!check" # FIXME: some tests are failing
source="$pkgname-$pkgver.tar.gz::https://github.com/ledger/$pkgname/archive/v$pkgver.tar.gz
fix-build-with-new-boost.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5 ledger-3.1.1.tar.gz
1a70bf192425b19abc34bb00ee84621e5a069fbe8fdcd56593d8c0dd3b8676f40c6a6c30c488320d22fd206eeb09db7ee7d1f8a2b3ffdb996c5978f98160cdbb fix-build-with-new-boost.patch"
|