[arch-commits] Commit in gnucash-docs/trunk (PKGBUILD)

Jaroslav Lichtblau jlichtblau at gemini.archlinux.org
Sun Oct 3 13:00:01 UTC 2021


    Date: Sunday, October 3, 2021 @ 13:00:00
  Author: jlichtblau
Revision: 1027182

upgpkg: gnucash-docs 4.7-1 - new upstream release

Modified:
  gnucash-docs/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-03 12:33:23 UTC (rev 1027181)
+++ PKGBUILD	2021-10-03 13:00:00 UTC (rev 1027182)
@@ -3,7 +3,7 @@
 # Contributor: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=gnucash-docs
-pkgver=4.6
+pkgver=4.7
 pkgrel=1
 pkgdesc='Documentation for GnuCash'
 arch=('any')
@@ -10,16 +10,26 @@
 url='https://gnucash.org/docs.phtml'
 license=('FDL')
 depends=('yelp')
+makedepends=('cmake')
 source=(https://downloads.sourceforge.net/gnucash/$pkgname-$pkgver.tar.gz)
-sha256sums=('5c4f8957d4e4a27bd7be3bc42f6a0823c1bfa4da1efff3fc17d57db43899c58c')
+sha256sums=('33fc05c9220247636c22bcd12227b95420a4991b9fdd9027e2fc29b16f58b03b')
 
+prepare() {
+  cd $pkgname-$pkgver
+  mkdir build
+}
+
+
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr
+  cd $pkgname-$pkgver/build
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    ..
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname-$pkgver/build
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list