mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/sigil to 0.9.13-1
This commit is contained in:
parent
aead978211
commit
6d382fc9c6
2 changed files with 15 additions and 3 deletions
|
@ -7,13 +7,13 @@
|
||||||
# - depend on xerces-c to avoid x86isms in bundled version
|
# - depend on xerces-c to avoid x86isms in bundled version
|
||||||
|
|
||||||
pkgname=sigil
|
pkgname=sigil
|
||||||
pkgver=0.9.12
|
pkgver=0.9.13
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="WYSIWYG ebook editor"
|
pkgdesc="WYSIWYG ebook editor"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://sigil-ebook.com/"
|
url="https://sigil-ebook.com/"
|
||||||
license=('GPL3')
|
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')
|
'python-lxml' 'qt5-webkit' 'qt5-xmlpatterns' 'xerces-c')
|
||||||
makedepends=('qt5-tools' 'qt5-svg' 'cmake')
|
makedepends=('qt5-tools' 'qt5-svg' 'cmake')
|
||||||
optdepends=('hunspell-en: for English dictionary support'
|
optdepends=('hunspell-en: for English dictionary support'
|
||||||
|
@ -25,9 +25,10 @@ optdepends=('hunspell-en: for English dictionary support'
|
||||||
'python-regex: recommended for plugins'
|
'python-regex: recommended for plugins'
|
||||||
'python-pyqt5: recommended for plugins'
|
'python-pyqt5: recommended for plugins'
|
||||||
'tk: 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"
|
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")
|
"https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig")
|
||||||
sha256sums=('8d810f9fc742c92bdd1c4075577be70cda0b7922a1ae06dc8373e619b77aa4bb'
|
sha256sums=('7b9f31a6cc7ef469d6eb07cd1b16b81c06aaa4a9d27d122d7e77e35e03606777'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay@gmail.com>
|
validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay@gmail.com>
|
||||||
|
|
||||||
|
@ -47,6 +48,7 @@ build() {
|
||||||
-DUSE_SYSTEM_LIBS=1 \
|
-DUSE_SYSTEM_LIBS=1 \
|
||||||
-DSYSTEM_LIBS_REQUIRED=1 \
|
-DSYSTEM_LIBS_REQUIRED=1 \
|
||||||
-DINSTALL_BUNDLED_DICTS=0 \
|
-DINSTALL_BUNDLED_DICTS=0 \
|
||||||
|
-DMATHJAX_DIR=/usr/share/mathjax \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
|
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
|
||||||
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
|
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
|
||||||
|
|
10
community/sigil/sigil.install
Normal file
10
community/sigil/sigil.install
Normal 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
|
||||||
|
}
|
Loading…
Reference in a new issue