[arch-commits] Commit in zim/repos/community-any (PKGBUILD PKGBUILD)
Florian Pritz
bluewind at archlinux.org
Fri Mar 29 19:50:19 UTC 2019
Date: Friday, March 29, 2019 @ 19:50:17
Author: bluewind
Revision: 446067
archrelease: copy trunk to community-any
Added:
zim/repos/community-any/PKGBUILD
(from rev 446066, zim/trunk/PKGBUILD)
Deleted:
zim/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 41 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-29 19:50:13 UTC (rev 446066)
+++ PKGBUILD 2019-03-29 19:50:17 UTC (rev 446067)
@@ -1,44 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-# Contributor: Kevin Piche <kevin at archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-
-pkgname=zim
-pkgver=0.69
-pkgrel=1
-pkgdesc="A WYSIWYG text editor that aims at bringing the concept of a wiki to the desktop."
-arch=(any)
-license=('GPL' 'PerlArtistic')
-url="http://zim-wiki.org/"
-depends=('pygtk' 'ttf-dejavu')
-optdepends=('bzr: Version Control plugin'
- 'git: Version Control plugin'
- 'mercurial: Version Control plugin'
- 'gnuplot: Insert Gnuplot plugin'
- 'ditaa: Insert Ditaa plugin'
- 'graphviz: Insert Diagram & Link Map plugins'
- 'python2-gtkspell: Spell Checker plugin'
- 'r: Insert GNU R Plot plugin'
- 'scrot: Insert Screenshot plugin'
- 'zeitgeist: Log events with Zeitgeist plugin'
- 'lilypond: Insert Score plugin'
- 'pygtksourceview2: Source View plugin'
- 'texlive-bin: Insert Equation plugin')
-source=(http://www.zim-wiki.org/downloads/${pkgname}-${pkgver}.tar.gz)
-md5sums=('5f14a0ec54be8efa78f4973973e9d947')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # python2 fixes
- for file in zim/inc/xdot.py; do
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
- done
-
- sed -i 's|\t\tinstall_class.run(self)|&\n\t\treturn None|' setup.py
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- python2 setup.py install --root=${pkgdir} --optimize=1
-}
Copied: zim/repos/community-any/PKGBUILD (from rev 446066, zim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-29 19:50:17 UTC (rev 446067)
@@ -0,0 +1,41 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=zim
+pkgver=0.70
+pkgrel=1
+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-dejavu' '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 & Link Map plugins'
+ 'python2-gtkspell: Spell Checker plugin'
+ 'r: Insert GNU R Plot plugin'
+ 'scrot: Insert Screenshot plugin'
+ 'zeitgeist: Log events with Zeitgeist plugin'
+ 'lilypond: Insert Score plugin'
+ 'pygtksourceview2: Source View plugin'
+ 'texlive-bin: Insert Equation plugin')
+source=(https://www.zim-wiki.org/downloads/${pkgname}-${pkgver}.tar.gz)
+md5sums=('14bde80a5805c5e84cd4b109ece013f6')
+
+
+check() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ xvfb-run -w0 ./test.py
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ python setup.py install --root=${pkgdir} --optimize=1
+}
More information about the arch-commits
mailing list