diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-04-09 20:56:52 +0200 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-04-09 20:57:48 +0200 |
commit | f59d712bf985344fb1b38d3bbad4c5c868d9f21a (patch) | |
tree | e80d15b8a213e74ca7677aa8efbb629bf2eb0284 | |
parent | aeedbfeaf11bc1a78b873da53ffb5a9aed93a3dd (diff) | |
download | abslibre-f59d712bf985344fb1b38d3bbad4c5c868d9f21a.tar.gz abslibre-f59d712bf985344fb1b38d3bbad4c5c868d9f21a.tar.bz2 abslibre-f59d712bf985344fb1b38d3bbad4c5c868d9f21a.zip |
libre/gnucash{,-docs}: added
-rw-r--r-- | libre/gnucash-docs/PKGBUILD | 34 | ||||
-rw-r--r-- | libre/gnucash/PKGBUILD | 62 |
2 files changed, 96 insertions, 0 deletions
diff --git a/libre/gnucash-docs/PKGBUILD b/libre/gnucash-docs/PKGBUILD new file mode 100644 index 000000000..22b3554e3 --- /dev/null +++ b/libre/gnucash-docs/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer (AUR): Jörg Schuck <joerg_schuck@web.de> +# Contributor (AUR): Juergen Hoetzel <juergen@archlinux.org> +pkgname=gnucash-docs +pkgver=3.0 +pkgrel=1 +pkgdesc="GnuCash documentation package" +arch=('any') +url="http://www.gnucash.org/docs.phtml" +license=('GPL') +depends=('yelp') +makedepends=('rarian' 'libxslt') +source=("gnucash-docs-$pkgver.tar.gz::http://sourceforge.net/projects/gnucash/files/gnucash-docs/$pkgver/gnucash-docs-$pkgver.tar.gz/download") +sha1sums=('01ec63f4cc4805ee708a04f51c6978c132afafd9') + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + + make -k check +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/libre/gnucash/PKGBUILD b/libre/gnucash/PKGBUILD new file mode 100644 index 000000000..07bf06d0d --- /dev/null +++ b/libre/gnucash/PKGBUILD @@ -0,0 +1,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 + +} |