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

Eli Schwartz eschwartz at archlinux.org
Tue Feb 19 02:29:15 UTC 2019


    Date: Tuesday, February 19, 2019 @ 02:29:14
  Author: eschwartz
Revision: 434320

upgpkg: sigil 0.9.12-1

upstream release
migrate to python css_parser (now a hard requirement)

Modified:
  sigil/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-18 23:02:03 UTC (rev 434319)
+++ PKGBUILD	2019-02-19 02:29:14 UTC (rev 434320)
@@ -4,13 +4,14 @@
 # Contributor: Larry Hajali <larryhaja [at] gmail [dot] com>
 
 pkgname=sigil
-pkgver=0.9.10
-pkgrel=3
+pkgver=0.9.12
+pkgrel=1
 pkgdesc="WYSIWYG ebook editor"
 arch=('x86_64')
 url="https://sigil-ebook.com/"
 license=('GPL3')
-depends=('hicolor-icon-theme' 'hunspell' 'minizip' 'python-lxml' 'qt5-webkit')
+depends=('hicolor-icon-theme' 'hunspell' 'minizip' 'python-css-parser'
+         'python-lxml' 'qt5-webkit' 'qt5-xmlpatterns')
 makedepends=('qt5-tools' 'qt5-svg' 'cmake')
 optdepends=('hunspell-en: for English dictionary support'
             'hyphen-en: for English hyphenation support in plugins'
@@ -17,23 +18,28 @@
             'python-html5lib: recommended for plugins'
             'python-chardet: recommended for plugins'
             'python-cssselect: recommended for plugins'
-            'python-cssutils: recommended for plugins'
             'python-pillow: recommended for plugins'
             'python-regex: recommended for plugins'
             'python-pyqt5: recommended for plugins'
             'tk: recommended for plugins')
 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=('294954c4c2b3f1f9348d4f1bff18edebaba44afae901be3900154778b2f877ed'
+        "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig")
+sha256sums=('8d810f9fc742c92bdd1c4075577be70cda0b7922a1ae06dc8373e619b77aa4bb'
             'SKIP')
 validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at gmail.com>
 
+prepare() {
+    cd "${srcdir}"/Sigil-${pkgver}
+
+    # devendor css_parser as it's a direct copy of the external package;
+    # upstream maintains both and plans to switch soon
+    rm -r src/Resource_Files/plugin_launchers/python/css_parser/
+}
+
 build() {
-    cd "${srcdir}/Sigil-${pkgver}"
+    mkdir -p "${srcdir}"/Sigil-${pkgver}/build
+    cd "${srcdir}"/Sigil-${pkgver}/build
 
-    mkdir -p build
-    cd build
-
     cmake -G "Unix Makefiles" \
         -DUSE_SYSTEM_LIBS=1 \
         -DSYSTEM_LIBS_REQUIRED=1 \



More information about the arch-commits mailing list