[arch-commits] Commit in zim/trunk (PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Sat Feb 6 11:04:08 UTC 2021
Date: Saturday, February 6, 2021 @ 11:04:08
Author: bluewind
Revision: 846495
upgpkg: zim 0.73.4-2: fix testsuite
Modified:
zim/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-06 10:08:02 UTC (rev 846494)
+++ PKGBUILD 2021-02-06 11:04:08 UTC (rev 846495)
@@ -4,7 +4,7 @@
pkgname=zim
pkgver=0.73.4
-pkgrel=1
+pkgrel=2
pkgdesc="A WYSIWYG text editor that aims at bringing the concept of a wiki to the desktop."
arch=(any)
license=('GPL' 'PerlArtistic')
@@ -24,21 +24,22 @@
'lilypond: Insert Score plugin'
'gtksourceview3: Source View plugin'
'texlive-bin: Insert Equation plugin')
-source=("https://www.zim-wiki.org/downloads/${pkgname}-${pkgver}.tar.gz")
-md5sums=('a4e62afc7947adf156184a28e9b07db8')
+source=("https://www.zim-wiki.org/downloads/${pkgname}-${pkgver}.tar.gz"
+ "$pkgname-1379.patch::https://github.com/zim-desktop-wiki/zim-desktop-wiki/pull/1379.patch")
+md5sums=('a4e62afc7947adf156184a28e9b07db8'
+ '92340feb56e46e156813c00745543624')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i "$srcdir/$pkgname-1379.patch"
+}
+
+
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
- if [[ "$pkgver" != "0.73.4" ]]; then
- # Test are broken starting with 0.71.0, but no fix is in sight yet.
- # Skip the tests since I don't have the time to fix them myself.
- # When the next version comes out, either update the if condition or be
- # happy that they are fixed.
- # https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/814
- xvfb-run -w0 ./test.py
- fi
+ xvfb-run -w0 ./test.py
}
package() {
More information about the arch-commits
mailing list