summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorb3niup2018-06-13 08:57:09 +0200
committerb3niup2018-06-13 08:57:09 +0200
commitccd54dc6daec53366538ad7e3ce3e5264acb6fc2 (patch)
tree66d3fbc60822a7e261c4d3d299645c5c588e2f0a /PKGBUILD
parent7db54d30129229b05fb8db07544547789a4d396b (diff)
downloadaur-ccd54dc6daec53366538ad7e3ce3e5264acb6fc2.tar.gz
Add workaround for gtk warnings with gcc 8.0 and cosmetic changes.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1d78c0d5b20..0c2817822dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,31 +3,34 @@
pkgname=gnucash-xbt
_pkgname=gnucash
pkgver=3.1
-pkgrel=1
+pkgrel=2
_sourcerel=-1
pkgdesc="A personal and small-business financial-accounting application with Bitcoin support"
-arch=('i686' 'x86_64')
+arch=(x86_64)
url="http://www.gnucash.org"
-license=("GPL")
-depends=('libmariadbclient' 'postgresql-libs' 'aqbanking' 'webkit2gtk' 'boost-libs' 'libsecret' 'libdbi-drivers')
-makedepends=('boost' 'gmock' 'gwenhywfar' 'cmake')
+license=(GPL)
+depends=(aqbanking boost-libs webkit2gtk libsecret)
+makedepends=(boost cmake gmock gwenhywfar libdbi libdbi-drivers libmariadbclient postgresql-libs)
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=('!makeflags' '!emptydirs')
-conflicts=('gnucash' 'gnucash-devel')
-provides=('gnucash')
+options=(!makeflags !emptydirs)
+conflicts=(gnucash gnucash-devel)
+provides=(gnucash)
source=("https://github.com/Gnucash/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}${_sourcerel}.tar.bz2"
- "xbt.patch")
+ "xbt.patch"
+ "gcc8.patch")
sha1sums=('8ba1e61db532571e9c5423caadfbc551f6fb1b82'
- '52cf6820bf1dd87b5807997e49ec9c861ff516af')
+ '52cf6820bf1dd87b5807997e49ec9c861ff516af'
+ '26704ecc0d611eff806b6bc7c3f1b632f1348980')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -Np0 -i "${srcdir}/xbt.patch"
+ patch -Np0 -i "${srcdir}/gcc8.patch"
cd "${srcdir}"
mkdir build
@@ -35,6 +38,7 @@ prepare() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
+ -DHAVE_GWEN_GTK3=ON \
-DCOMPILE_GSCHEMAS=NO \
-DWITH_OFX=ON \
-DWITH_AQBANKING=ON \
@@ -44,7 +48,7 @@ prepare() {
build() {
cd "${srcdir}/build"
- make
+ make -j8
}
package() {