community/sigil to 0.9.13-1

This commit is contained in:
Kevin Mihelich 2019-03-21 03:49:13 +00:00
parent aead978211
commit 6d382fc9c6
2 changed files with 15 additions and 3 deletions

View file

@ -7,13 +7,13 @@
# - depend on xerces-c to avoid x86isms in bundled version
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' 'xerces-c')
makedepends=('qt5-tools' 'qt5-svg' 'cmake')
optdepends=('hunspell-en: for English dictionary support'
@ -25,9 +25,10 @@ optdepends=('hunspell-en: for English dictionary support'
'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@gmail.com>
@ -47,6 +48,7 @@ build() {
-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}" \

View file

@ -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
}