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

Felix Yan felixonmars at archlinux.org
Fri Aug 7 20:23:05 UTC 2020


    Date: Friday, August 7, 2020 @ 20:23:04
  Author: felixonmars
Revision: 671727

upgpkg: bibletime 3.0-1

Modified:
  bibletime/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-07 20:22:40 UTC (rev 671726)
+++ PKGBUILD	2020-08-07 20:23:04 UTC (rev 671727)
@@ -4,16 +4,16 @@
 # Contributor: Tobias T. <OldShatterhand at gmx-topmail dot de>
 
 pkgname=bibletime
-pkgver=2.11.2
-pkgrel=2
+pkgver=3.0
+pkgrel=1
 pkgdesc='Bible study tool'
 arch=('x86_64')
 url='http://www.bibletime.info/'
 license=('GPL2')
 depends=('sword' 'clucene' 'qt5-webengine' 'qt5-svg')
-makedepends=('cmake' 'qt5-tools')
+makedepends=('cmake' 'docbook-xsl' 'expac' 'fop' 'ninja' 'po4a' 'qt5-tools')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/bibletime/bibletime/archive/v$pkgver.tar.gz")
-sha512sums=('951c72dea1e281c0403284b36d680452ffb9dec180097faec49bc8536ad9a9e3cb543060b9972beae415e94467dbff6edcc253a0fda217cbb17a94fce40ff553')
+sha512sums=('40e555d2cf4504448f41a066a6486a4319b1ebf834073f10b17478de08bb22bf4c2e0643fd27be7dc8eef4cd8724447a28ae5ef5f8c3115224e067a5df1006fc')
 
 prepare() {
   mkdir -p build
@@ -22,14 +22,16 @@
 build() {
   cd build
 
-  cmake ../bibletime-$pkgver \
+  cmake -GNinja ../bibletime-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=Release
-  make
+    -DBT_DOCBOOK_XSL_HTML_CHUNK_XSL=/usr/share/xml/docbook/xsl-stylesheets-$(expac %v docbook-xsl | cut -d - -f 1)/html/chunk.xsl \
+    -DBT_DOCBOOK_XSL_PDF_DOCBOOK_XSL=/usr/share/xml/docbook/xsl-stylesheets-$(expac %v docbook-xsl | cut -d - -f 1)/fo/docbook.xsl
+  ninja
 }
 
 package() {
-  make -C build DESTDIR="$pkgdir" install
+  cd build
+  DESTDIR="$pkgdir" ninja install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list