mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/sigil to 0.9.12-1
This commit is contained in:
parent
3f39e3a934
commit
d76a7094be
1 changed files with 16 additions and 10 deletions
|
@ -7,35 +7,41 @@
|
||||||
# - 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.10
|
pkgver=0.9.12
|
||||||
pkgrel=3
|
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-lxml' 'qt5-webkit' 'xerces-c')
|
depends=('hicolor-icon-theme' 'hunspell' 'minizip' 'python-css-parser'
|
||||||
|
'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'
|
||||||
'hyphen-en: for English hyphenation support in plugins'
|
'hyphen-en: for English hyphenation support in plugins'
|
||||||
'python-html5lib: recommended for plugins'
|
'python-html5lib: recommended for plugins'
|
||||||
'python-chardet: recommended for plugins'
|
'python-chardet: recommended for plugins'
|
||||||
'python-cssselect: recommended for plugins'
|
'python-cssselect: recommended for plugins'
|
||||||
'python-cssutils: recommended for plugins'
|
|
||||||
'python-pillow: recommended for plugins'
|
'python-pillow: recommended for plugins'
|
||||||
'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')
|
||||||
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=('294954c4c2b3f1f9348d4f1bff18edebaba44afae901be3900154778b2f877ed'
|
sha256sums=('8d810f9fc742c92bdd1c4075577be70cda0b7922a1ae06dc8373e619b77aa4bb'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay@gmail.com>
|
validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay@gmail.com>
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
cd "${srcdir}/Sigil-${pkgver}"
|
cd "${srcdir}"/Sigil-${pkgver}
|
||||||
|
|
||||||
mkdir -p build
|
# devendor css_parser as it's a direct copy of the external package;
|
||||||
cd build
|
# upstream maintains both and plans to switch soon
|
||||||
|
rm -r src/Resource_Files/plugin_launchers/python/css_parser/
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
mkdir -p "${srcdir}"/Sigil-${pkgver}/build
|
||||||
|
cd "${srcdir}"/Sigil-${pkgver}/build
|
||||||
|
|
||||||
cmake -G "Unix Makefiles" \
|
cmake -G "Unix Makefiles" \
|
||||||
-DUSE_SYSTEM_LIBS=1 \
|
-DUSE_SYSTEM_LIBS=1 \
|
||||||
|
|
Loading…
Reference in a new issue