Date: Monday, November 4, 2019 @ 06:36:21
  Author: felixonmars
Revision: 523439

archrelease: copy trunk to community-staging-any

Added:
  zim/repos/community-staging-any/
  zim/repos/community-staging-any/PKGBUILD
    (from rev 523436, zim/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: zim/repos/community-staging-any/PKGBUILD (from rev 523436, 
zim/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-11-04 06:36:21 UTC (rev 523439)
@@ -0,0 +1,51 @@
+# Maintainer: Florian Pritz <[email protected]>
+# Contributor: Kevin Piche <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+
+pkgname=zim
+pkgver=0.72.0
+pkgrel=2
+pkgdesc="A WYSIWYG text editor that aims at bringing the concept of a wiki to 
the desktop."
+arch=(any)
+license=('GPL' 'PerlArtistic')
+url="https://zim-wiki.org/";
+depends=('python' 'python-gobject' 'ttf-font' 'gtk3' 'python-xdg')
+checkdepends=('xorg-server-xvfb')
+optdepends=('bzr: Version Control plugin'
+            'git: Version Control plugin'
+            'mercurial: Version Control plugin'
+            'gnuplot: Insert Gnuplot plugin'
+            'ditaa: Insert Ditaa plugin'
+            'graphviz: Insert Diagram plugin'
+            'xdot: Link Map plugin'
+            'gtkspell3: Spell Checker plugin'
+            'r: Insert GNU R Plot plugin'
+            'scrot: Insert Screenshot plugin'
+            '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=('8e71f674741b598357a521a4738bf085')
+
+
+check() {
+       cd ${srcdir}/${pkgname}-${pkgver}
+
+       if [[ "$pkgver" != "0.72.0" ]]; 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
+}
+
+package() {
+       cd ${srcdir}/${pkgname}-${pkgver}
+
+       python setup.py install --root=${pkgdir} --optimize=1
+
+       install -dm755 "$pkgdir/usr/share/icons/"
+       cp -r xdg/hicolor/ "$pkgdir/usr/share/icons/"
+}

Reply via email to