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

Alexander Rødseth arodseth at archlinux.org
Wed Dec 2 11:59:16 UTC 2020


    Date: Wednesday, December 2, 2020 @ 11:59:16
  Author: arodseth
Revision: 769145

upgpkg: diffuse 0.6.0-1

Modified:
  diffuse/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-02 11:51:18 UTC (rev 769144)
+++ PKGBUILD	2020-12-02 11:59:16 UTC (rev 769145)
@@ -4,7 +4,7 @@
 # Contributor: zhuqin <zhuqin83 at gmail.com>
 
 pkgname=diffuse
-pkgver=0.5.0
+pkgver=0.6.0
 pkgrel=1
 pkgdesc='Graphical tool for merging and comparing text files'
 arch=(any)
@@ -11,13 +11,20 @@
 url='https://github.com/MightyCreak/diffuse'
 license=(GPL)
 depends=(gtk3 python-cairo python-gobject)
-makedepends=(git)
-source=("git+$url#commit=b5ae53e79e7f7fde18fc3e9856d0bf523f4031db") # tag: v0.5.0
+makedepends=(git meson ninja)
+source=("git+$url#commit=8eec2c49441e52456f64406a853790dfae804e58") # tag: v0.6.0
 sha256sums=('SKIP')
 
+build() {
+  mkdir -p build
+  arch-meson build $pkgname -D b_ndebug=true
+  ninja -v -C build
+}
+
+check() {
+  ninja -C build test
+}
+
 package() {
-  cd $pkgname
-  python install.py --prefix=/usr --destdir="$pkgdir"
+  DESTDIR="$pkgdir" ninja -C build install
 }
-
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list