[arch-commits] Commit in ledger/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Apr 5 13:42:56 UTC 2019
Date: Friday, April 5, 2019 @ 13:42:55
Author: felixonmars
Revision: 449818
archrelease: copy trunk to community-staging-x86_64
Added:
ledger/repos/community-staging-x86_64/
ledger/repos/community-staging-x86_64/PKGBUILD
(from rev 449817, ledger/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: ledger/repos/community-staging-x86_64/PKGBUILD (from rev 449817, ledger/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-04-05 13:42:55 UTC (rev 449818)
@@ -0,0 +1,37 @@
+# Maintainer: 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>
+# Contributor: Adam Ehlers Nyholm Thomsen <adament at gmail.com>
+# Contributor: Nathan Jones <nathanj at insightbb.com>
+
+pkgname=ledger
+pkgver=3.1.2
+pkgrel=2
+pkgdesc='Double-entry accounting system with a command-line reporting interface'
+arch=('i686' 'x86_64')
+url='http://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=('3ecebe00e8135246e5437e4364bb7a38869fad7c3250b849cf8c18ca2628182e')
+
+build() {
+ cd "$pkgname-$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
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list