[arch-commits] Commit in ledger/trunk (PKGBUILD)
Ivy Foster
escondida at archlinux.org
Thu Oct 10 02:27:26 UTC 2019
Date: Thursday, October 10, 2019 @ 02:27:25
Author: escondida
Revision: 514397
upgpkg: ledger 3.1.3-3
update to -3; add mpfr and boost-libs deps; move boost to makedeps; add check
Modified:
ledger/trunk/PKGBUILD
----------+
PKGBUILD | 43 ++++++++++++++++++++++++-------------------
1 file changed, 24 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-09 23:34:08 UTC (rev 514396)
+++ PKGBUILD 2019-10-10 02:27:25 UTC (rev 514397)
@@ -1,4 +1,5 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Maintainer: Ivy Foster <code at iff.ink>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
# Contributor: Abdelhakim Qbaich <abdelhakim at qbaich.com>
# Contributor: korjjj <korjjj+aur at gmail.com>
# Contributor: TDY <tdy at archlinux.info>
@@ -7,31 +8,35 @@
pkgname=ledger
pkgver=3.1.3
-pkgrel=2
+pkgrel=3
pkgdesc='Double-entry accounting system with a command-line reporting interface'
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url='https://ledger-cli.org'
-license=('BSD')
-depends=('python2' 'boost' 'libedit')
-makedepends=('cmake')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ledger/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('b248c91d65c7a101b9d6226025f2b4bf3dabe94c0c49ab6d51ce84a22a39622b')
+license=(BSD)
+depends=(boost-libs libedit mpfr)
+makedepends=(boost cmake)
+optdepends=('emacs: emacs interface')
+source=("ledger-$pkgver.tar.gz::https://github.com/ledger/ledger/archive/v$pkgver.tar.gz")
+sha256sums=(b248c91d65c7a101b9d6226025f2b4bf3dabe94c0c49ab6d51ce84a22a39622b)
build() {
- cd "$pkgname-$pkgver"
+ cd "ledger-$pkgver"
- cmake . \
- -DCMAKE_INSTALL_PREFIX:PATH=/usr \
- -DCMAKE_INSTALL_LIBDIR:PATH=lib \
- -DUSE_PYTHON:BOOL=TRUE \
- -DDISABLE_ASSERTS:BOOL=TRUE \
- -DBUILD_EMACSLISP:BOOL=TRUE
- make
+ cmake . \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+ -DCMAKE_INSTALL_LIBDIR:PATH=lib \
+ -DUSE_PYTHON:BOOL=FALSE \
+ -DBUILD_EMACSLISP:BOOL=TRUE
+ make
}
+check() {
+ make -C "ledger-$pkgver" check
+}
+
package() {
- cd "$pkgname-$pkgver"
+ cd "ledger-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/ledger/LICENSE.md"
}
More information about the arch-commits
mailing list