[arch-commits] Commit in zathura/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Sat Mar 24 12:34:06 UTC 2018
Date: Saturday, March 24, 2018 @ 12:34:05
Author: demize
Revision: 311883
upgpkg: zathura 0.3.9-1
Modified:
zathura/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-24 12:33:09 UTC (rev 311882)
+++ PKGBUILD 2018-03-24 12:34:05 UTC (rev 311883)
@@ -5,7 +5,7 @@
# Contributor: ML <neldoreth>
pkgname=zathura
-pkgver=0.3.8
+pkgver=0.3.9
pkgrel=1
pkgdesc="Minimalistic document viewer"
@@ -13,7 +13,7 @@
arch=('x86_64')
license=('custom')
-makedepends=('python2-docutils' 'texlive-bin')
+makedepends=('python-sphinx' 'texlive-bin' 'meson' 'ninja')
depends=('girara>=0.2.7' 'sqlite' 'desktop-file-utils' 'file' 'libsynctex')
optdepends=('zathura-djvu: DjVu support'
'zathura-pdf-poppler: PDF support using Poppler'
@@ -21,21 +21,24 @@
'zathura-ps: PostScript support'
'zathura-cb: Comic book support')
-source=(https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.gz
+source=(https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.xz
bash-completion)
-sha1sums=('f96df67bd12068af8ed14671877b1ebe64931241'
+sha1sums=('23fd07120031f64a52c24eb90b6e0de9397ba011'
'94a8236c483626a7f3acee053a1ea885aed45a82')
build() {
cd zathura-$pkgver
- make WITH_SYNCTEX=1
+ arch-meson build
+
+ cd build
+ ninja
}
package() {
- cd zathura-$pkgver
+ cd zathura-$pkgver/build
+ DESTDIR="$pkgdir" ninja install
- make install DESTDIR="$pkgdir"
- install -D -m664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ 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