Date: Monday, May 2, 2022 @ 10:33:01 Author: jlichtblau Revision: 1192207
archrelease: copy trunk to community-x86_64 Added: gnucash/repos/community-x86_64/PKGBUILD (from rev 1192206, gnucash/trunk/PKGBUILD) Deleted: gnucash/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-02 10:32:45 UTC (rev 1192206) +++ PKGBUILD 2022-05-02 10:33:01 UTC (rev 1192207) @@ -1,49 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Contributor: Juergen Hoetzel <juer...@archlinux.org> -# Contributor: Mark Schneider <queue...@gmail.com> - -pkgname=gnucash -pkgver=4.9 -pkgrel=2 -pkgdesc='Personal and small-business financial-accounting application' -arch=(x86_64) -url='https://gnucash.org/' -license=(GPL) -depends=(aqbanking gwenhywfar boost-libs guile libdbi webkit2gtk) -makedepends=(boost cmake gtest libdbi-drivers mariadb-libs postgresql-libs swig) -optdepends=('gnucash-docs: documentation' - 'libdbi-drivers: open and save data into SQL database' - 'perl-date-manip: stock information lookups' - 'perl-finance-quote: stock information lookups') -options=(!emptydirs) -source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) -sha256sums=('9a551c30c1b712199fc2227a109afb984d7bef18e138170bbc7225c6c1fab72d') - -build() { - cd $pkgname-$pkgver - - # Do not treat warnings as errors - sed -e 's|-Werror||g' -i CMakeLists.txt - - cmake -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DWITH_PYTHON=ON \ - -DCOMPILE_GSCHEMAS=OFF - make -} - -check() { - cd $pkgname-$pkgver - make -k check || : # 2 tests failed -} - -package() { - cd $pkgname-$pkgver - 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" -} Copied: gnucash/repos/community-x86_64/PKGBUILD (from rev 1192206, gnucash/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-02 10:33:01 UTC (rev 1192207) @@ -0,0 +1,49 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Juergen Hoetzel <juer...@archlinux.org> +# Contributor: Mark Schneider <queue...@gmail.com> + +pkgname=gnucash +pkgver=4.10 +pkgrel=1 +pkgdesc='Personal and small-business financial-accounting application' +arch=(x86_64) +url='https://gnucash.org/' +license=(GPL) +depends=(aqbanking gwenhywfar boost-libs guile libdbi webkit2gtk) +makedepends=(boost cmake gtest libdbi-drivers mariadb-libs postgresql-libs swig) +optdepends=('gnucash-docs: documentation' + 'libdbi-drivers: open and save data into SQL database' + 'perl-date-manip: stock information lookups' + 'perl-finance-quote: stock information lookups') +options=(!emptydirs) +source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +sha256sums=('7fd4bb919f6e39388ab47bfa11af6fa3f59e9b9bd695c7d4e9208af85cb9c93b') + +build() { + cd $pkgname-$pkgver + + # Do not treat warnings as errors + sed -e 's|-Werror||g' -i CMakeLists.txt + + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DWITH_PYTHON=ON \ + -DCOMPILE_GSCHEMAS=OFF + make +} + +check() { + cd $pkgname-$pkgver + make -k check || : # 2 tests failed +} + +package() { + cd $pkgname-$pkgver + 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" +}