[arch-commits] Commit in zathura-cb/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Sat Mar 24 12:34:25 UTC 2018


    Date: Saturday, March 24, 2018 @ 12:34:24
  Author: demize
Revision: 311886

upgpkg: zathura-cb 0.1.8-1

Modified:
  zathura-cb/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-24 12:34:16 UTC (rev 311885)
+++ PKGBUILD	2018-03-24 12:34:24 UTC (rev 311886)
@@ -2,7 +2,7 @@
 # Contributor: Lex Black <autumn-wind at web dot de>
 
 pkgname=zathura-cb
-pkgver=0.1.7
+pkgver=0.1.8
 pkgrel=1
 
 pkgdesc="Adds comic book support to zathura"
@@ -11,18 +11,23 @@
 license=('custom:zlib')
 
 depends=('zathura' 'libarchive' 'desktop-file-utils')
+makedepends=('meson' 'ninja')
 
-source=(https://pwmt.org/projects/zathura-cb/download/zathura-cb-$pkgver.tar.gz)
+source=(https://pwmt.org/projects/zathura-cb/download/zathura-cb-$pkgver.tar.xz)
 
-sha1sums=('4b17bc78d8f057e0da1a66f6e6de295938fb55e0')
+sha1sums=('91134206ccb0f0488ceebb8fcfaf86e1bbeb1e3c')
 
 build() {
-  make -C zathura-cb-$pkgver
+  cd zathura-cb-$pkgver
+  arch-meson build
+
+  cd build
+  ninja
 }
 
 package() {
-  cd zathura-cb-$pkgver
+  cd zathura-cb-$pkgver/build
 
-  make DESTDIR="$pkgdir" install
-  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  DESTDIR="$pkgdir" ninja install
+  install -Dm664 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list