blob: 07bf06d0d76a51e54da40b88c624bfffe3f30309 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# $Id: PKGBUILD 299071 2017-06-20 16:53:25Z juergen $
# Maintainer (AUR): Jörg Schuck <joerg_schuck@web.de>
# Contributor (AUR): Juergen Hoetzel <juergen@archlinux.org>
# Contributor (AUR): Mark Schneider <queueRAM@gmail.com>
pkgname=gnucash
pkgver=3.0
pkgrel=4
pkgdesc="A personal and small-business financial-accounting application"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.gnucash.org"
license=("GPL")
depends=('libmariadbclient' 'postgresql-libs' 'aqbanking' 'webkit2gtk' 'boost-libs' 'libsecret' 'libdbi-drivers' 'guile')
makedepends=('boost' 'gmock' 'gwenhywfar' 'cmake')
optdepends=(
'gnucash-docs: for documentation'
'iso-codes: for translation of currency names'
'perl-finance-quote: for stock information lookups'
'perl-date-manip: for stock information lookups'
)
options=('!emptydirs')
source=(
http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2
)
sha1sums=('a575e853668b93b34dcd94f0ef0d1fee25b0165f')
sha256sums=('4c754476a5b80a97abacaeadac64fefc5a68fcfec15967908dbe3c9f7370dbb9')
sha512sums=('5ec13b8abe1520a7e614ceeca4c41d5dba3ebae4ec965918584963022ceb5cb3b85862289a85a72767db74a0c735214a78342a53c37e6da939ff850538174a87')
backup=(
'etc/gnucash/environment'
)
prepare() {
cd "${srcdir}"
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
-DCOMPILE_GSCHEMAS=NO \
-DWITH_OFX=ON \
-DWITH_AQBANKING=ON \
"${srcdir}/${pkgname}-${pkgver}"
}
build() {
cd "${srcdir}/build"
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
# Delete the gnucash-valgrind executable because the source files
# are not included with the package and the executable is hardlinked
# to the location that it was built at.
rm -f "${pkgdir}"/usr/bin/gnucash-valgrind
}
|