From f59d712bf985344fb1b38d3bbad4c5c868d9f21a Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Mon, 9 Apr 2018 20:56:52 +0200 Subject: libre/gnucash{,-docs}: added --- libre/gnucash-docs/PKGBUILD | 34 +++++++++++++++++++++++++ libre/gnucash/PKGBUILD | 62 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 libre/gnucash-docs/PKGBUILD create mode 100644 libre/gnucash/PKGBUILD (limited to 'libre') 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 +# Contributor (AUR): Juergen Hoetzel +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 +# Contributor (AUR): Juergen Hoetzel +# Contributor (AUR): Mark Schneider + +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 + +} -- cgit v1.2.3