[arch-commits] Commit in zim/repos/community-any (PKGBUILD PKGBUILD)

Florian Pritz bluewind at archlinux.org
Sat Feb 6 12:24:28 UTC 2021


    Date: Saturday, February 6, 2021 @ 12:24:28
  Author: bluewind
Revision: 846598

archrelease: copy trunk to community-any

Added:
  zim/repos/community-any/PKGBUILD
    (from rev 846597, zim/trunk/PKGBUILD)
Deleted:
  zim/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  109 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 57 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-06 12:24:26 UTC (rev 846597)
+++ PKGBUILD	2021-02-06 12:24:28 UTC (rev 846598)
@@ -1,52 +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.73.4
-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"
-	"$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}"
-
-	xvfb-run -w0 ./test.py
-}
-
-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/"
-}

Copied: zim/repos/community-any/PKGBUILD (from rev 846597, zim/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-06 12:24:28 UTC (rev 846598)
@@ -0,0 +1,57 @@
+# 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.73.5
+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-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"
+	"$pkgname-1379.patch::https://github.com/zim-desktop-wiki/zim-desktop-wiki/pull/1379.patch"
+	https://github.com/zim-desktop-wiki/zim-desktop-wiki/commit/85818b30a14c861061c553358262f822e7c067ca.patch)
+md5sums=('fa76ceb8ac7d7354fb0e2bc5607e9faa'
+         '92340feb56e46e156813c00745543624'
+         '0a305d2dd465e22280d029c9389be83f')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	# fix tests
+	patch -p1 -i "$srcdir/$pkgname-1379.patch"
+	# fix tests for 0.73.5; should be removed with next release
+	patch -p1 -i "$srcdir/85818b30a14c861061c553358262f822e7c067ca.patch"
+}
+
+
+check() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	xvfb-run -w0 ./test.py
+}
+
+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/"
+}



More information about the arch-commits mailing list