[arch-commits] Commit in zathura/trunk (2 files)
Johannes Löthberg
demize at archlinux.org
Tue Feb 2 19:12:52 UTC 2016
Date: Tuesday, February 2, 2016 @ 20:12:51
Author: demize
Revision: 160004
upgpkg: zathura 0.3.4-1
Added:
zathura/trunk/PATCH-Build-even-without-SyncTeX.patch
Modified:
zathura/trunk/PKGBUILD
----------------------------------------+
PATCH-Build-even-without-SyncTeX.patch | 27 +++++++++++++++++++++++
PKGBUILD | 36 ++++++++++++++++++++-----------
2 files changed, 51 insertions(+), 12 deletions(-)
Added: PATCH-Build-even-without-SyncTeX.patch
===================================================================
--- PATCH-Build-even-without-SyncTeX.patch (rev 0)
+++ PATCH-Build-even-without-SyncTeX.patch 2016-02-02 19:12:51 UTC (rev 160004)
@@ -0,0 +1,27 @@
+From b78be80d138076471cdfdc2c4edab4a3af6241b0 Mon Sep 17 00:00:00 2001
+From: Petr Šabata <contyk at redhat.com>
+Date: Mon, 21 Dec 2015 16:57:59 +0100
+Subject: [PATCH] Build even without SyncTeX
+
+---
+ zathura/main.c | 2 --
+ 1 file changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/zathura/main.c b/zathura/main.c
+index 060382a..1c5b73e 100644
+--- a/zathura/main.c
++++ b/zathura/main.c
+@@ -135,10 +135,8 @@ main(int argc, char* argv[])
+ gchar* plugin_path = NULL;
+ gchar* loglevel = NULL;
+ gchar* password = NULL;
+-#ifdef WITH_SYNCTEX
+ gchar* synctex_editor = NULL;
+ gchar* synctex_fwd = NULL;
+-#endif
+ gchar* mode = NULL;
+ bool forkback = false;
+ bool print_version = false;
+--
+libgit2 0.23.3
+
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-02 18:59:47 UTC (rev 160003)
+++ PKGBUILD 2016-02-02 19:12:51 UTC (rev 160004)
@@ -1,15 +1,18 @@
# $Id$
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor: ML <neldoreth>
pkgname=zathura
-pkgver=0.3.3
+pkgver=0.3.4
pkgrel=1
+
pkgdesc="Minimalistic document viewer"
+url="http://pwmt.org/projects/zathura/"
arch=('i686' 'x86_64')
-url="http://pwmt.org/projects/zathura/"
license=('custom')
+
depends=('girara>=0.2.4' 'sqlite' 'desktop-file-utils' 'file')
makedepends=('python2-docutils')
optdepends=('zathura-djvu: DjVu support'
@@ -16,20 +19,29 @@
'zathura-pdf-poppler: PDF support using Poppler'
'zathura-pdf-mupdf: PDF support using MuPDF'
'zathura-ps: PostScript support')
+
install=zathura.install
source=(http://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
- bash-completion)
-md5sums=('d360252210ce51a29e8d341b1b72a7cc'
- 'cac20c37f0e77ba62a8138788f4ccabb')
+ bash-completion
+ PATCH-Build-even-without-SyncTeX.patch)
+sha1sums=('d8142ffdd9df8f04619cc823da07afb1f7694270'
+ '94a8236c483626a7f3acee053a1ea885aed45a82'
+ 'f8d8a0a9c699eeb5fc64bf56194dd0cb12f65ab1')
+
+prepare() {
+ cd zathura-$pkgver
+ patch -p1 <../PATCH-Build-even-without-SyncTeX.patch
+}
build() {
- cd $srcdir/zathura-$pkgver
+ cd zathura-$pkgver
make
}
package() {
- cd $srcdir/zathura-$pkgver
- make install DESTDIR=$pkgdir
- install -D -m664 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -Dm0644 $srcdir/bash-completion $pkgdir/usr/share/bash-completion/completions/zathura
+ cd zathura-$pkgver
+
+ make install DESTDIR="$pkgdir"
+ install -D -m664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm0644 "$srcdir"/bash-completion "$pkgdir"/usr/share/bash-completion/completions/zathura
}
More information about the arch-commits
mailing list