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

Eli Schwartz eschwartz at archlinux.org
Tue Nov 24 06:29:21 UTC 2020


    Date: Tuesday, November 24, 2020 @ 06:29:20
  Author: eschwartz
Revision: 760867

upgpkg: sigil 1.4.2-3: fix crash if dictionaries aren't available

backport fixes for https://github.com/Sigil-Ebook/Sigil/issues/574

Modified:
  sigil/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-24 03:29:58 UTC (rev 760866)
+++ PKGBUILD	2020-11-24 06:29:20 UTC (rev 760867)
@@ -5,7 +5,7 @@
 
 pkgname=sigil
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="multi-platform EPUB2/EPUB3 ebook editor"
 arch=('x86_64')
 url="https://sigil-ebook.com/"
@@ -24,13 +24,28 @@
             '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")
+        "https://github.com/Sigil-Ebook/Sigil/releases/download/${pkgver}/Sigil-${pkgver}.tar.gz.sig"
+        "https://github.com/Sigil-Ebook/Sigil/commit/16babc881ac0f996641cc693a7564c4e08e27266.patch"
+        "https://github.com/Sigil-Ebook/Sigil/commit/966fe5e8fa16d791d995d4655894f1d328e3c76e.patch")
 sha256sums=('e31b7c84507ffe9ca896d8a169867923d3274c02d957bd59e5c6b1fd12b5e4c8'
-            'SKIP')
+            'SKIP'
+            '3ba750eeea63f7a18af70773398de4904c4703d7ee29dc5d970800a99607b914'
+            '44e8a692f92cb8a359732c2365160af58bbff17c499c2ae9fe80f0327849a2ef')
 b2sums=('e93b2fa5876d35baf258845dc1bc3ff12c79aeb3dd702d04d2c2b54580c5d96a1a07438b28953553a91defe97625af3cf538b810ce748936cf6ba4efa92c9385'
-        'SKIP')
+        'SKIP'
+        '7126b3136733e22db610e4233efa718f17b8a5b04f5d3c554864adeb0e2057d022bb9f86cbb8a0635f25b1ccaf22168bdbf495d3fb470f6cc2bfeaa53d476ef3'
+        'ea22b827192c42c93e24b831182e9ba8a37071a8a698be8cf27f9b9a1460624a65946722c5d34e94c65c21d515c6b3429192517633767c5e13a150b9163facba')
 validpgpkeys=('B5A56206AB0FBC1A24EFAB8AA166D29A8FCDAC63') # Doug Massay <douglaslmassay at gmail.com>
 
+prepare() {
+    cd "${srcdir}"/Sigil-${pkgver}
+
+    # backport fix for crash if no dictionaries are available
+    # see: https://github.com/Sigil-Ebook/Sigil/issues/574
+    patch -p1 -i ../16babc881ac0f996641cc693a7564c4e08e27266.patch
+    patch -p1 -i ../966fe5e8fa16d791d995d4655894f1d328e3c76e.patch
+}
+
 build() {
     mkdir -p "${srcdir}"/Sigil-${pkgver}/build
     cd "${srcdir}"/Sigil-${pkgver}/build



More information about the arch-commits mailing list