[arch-commits] Commit in sigil/trunk (PKGBUILD sigil.install)

Eli Schwartz eschwartz at archlinux.org
Thu Mar 21 03:07:44 UTC 2019


    Date: Thursday, March 21, 2019 @ 03:07:43
  Author: eschwartz
Revision: 442995

upgpkg: sigil 0.9.13-1

upstream release

Thanks to the great work of @kevinhendricks and @dougmassay, Sigil now
supports the latest version of MathJax sourced from the system.

Added:
  sigil/trunk/sigil.install
Modified:
  sigil/trunk/PKGBUILD

---------------+
 PKGBUILD      |    8 +++++---
 sigil.install |   10 ++++++++++
 2 files changed, 15 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-21 00:07:56 UTC (rev 442994)
+++ PKGBUILD	2019-03-21 03:07:43 UTC (rev 442995)
@@ -4,13 +4,13 @@
 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
 
 pkgname=sigil
-pkgver=0.9.12
+pkgver=0.9.13
 pkgrel=1
 pkgdesc="WYSIWYG ebook editor"
 arch=('x86_64')
 url="https://sigil-ebook.com/"
 license=('GPL3')
-depends=('hicolor-icon-theme' 'hunspell' 'minizip' 'python-css-parser'
+depends=('hicolor-icon-theme' 'hunspell' 'mathjax' 'minizip' 'python-css-parser'
          'python-lxml' 'qt5-webkit' 'qt5-xmlpatterns')
 makedepends=('qt5-tools' 'qt5-svg' 'cmake')
 optdepends=('hunspell-en: for English dictionary support'
@@ -22,9 +22,10 @@
             'python-regex: recommended for plugins'
             'python-pyqt5: recommended for plugins'
             'tk: recommended for plugins')
+install=${pkgname}.install
 source=("Sigil-${pkgver}.tar.gz::https://github.com/Sigil-Ebook/Sigil/archive/${pkgver}.tar.gz"
         "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig")
-sha256sums=('8d810f9fc742c92bdd1c4075577be70cda0b7922a1ae06dc8373e619b77aa4bb'
+sha256sums=('7b9f31a6cc7ef469d6eb07cd1b16b81c06aaa4a9d27d122d7e77e35e03606777'
             'SKIP')
 validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at gmail.com>
 
@@ -44,6 +45,7 @@
         -DUSE_SYSTEM_LIBS=1 \
         -DSYSTEM_LIBS_REQUIRED=1 \
         -DINSTALL_BUNDLED_DICTS=0 \
+        -DMATHJAX_DIR=/usr/share/mathjax \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
         -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \

Added: sigil.install
===================================================================
--- sigil.install	                        (rev 0)
+++ sigil.install	2019-03-21 03:07:43 UTC (rev 442995)
@@ -0,0 +1,10 @@
+post_upgrade() {
+    if (( $(vercmp 0.9.13 "$2") > 0 )); then
+        cat << __EOF__
+Sigil will very possibly not work at first due to bugs in the 0.9.11 - 0.9.12 preferences code.
+Please see the following resources for migration instructions:
+  https://www.mobileread.com/forums/showthread.php?t=315748
+  https://github.com/Sigil-Ebook/Sigil/wiki#if-youre-here-because
+__EOF__
+    fi
+}


More information about the arch-commits mailing list