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

Jan de Groot jgc at archlinux.org
Wed Sep 20 21:02:20 UTC 2017


    Date: Wednesday, September 20, 2017 @ 21:02:19
  Author: jgc
Revision: 306013

upgpkg: gnome-todo 3.26.0+3+g25db155-1

Modified:
  gnome-todo/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-20 20:58:41 UTC (rev 306012)
+++ PKGBUILD	2017-09-20 21:02:19 UTC (rev 306013)
@@ -2,7 +2,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gnome-todo
-pkgver=3.24.2
+pkgver=3.26.0+3+g25db155
 pkgrel=1
 pkgdesc="Task manager for GNOME"
 url="https://wiki.gnome.org/Apps/Todo"
@@ -9,13 +9,18 @@
 arch=(i686 x86_64)
 license=(GPL)
 depends=(evolution-data-server libpeas)
-makedepends=(intltool gobject-introspection gnome-common appstream-glib git)
+makedepends=(gobject-introspection appstream-glib git meson)
 optdepends=('python3: Some plugins')
 groups=(gnome-extra)
-_commit=fc5c2f1a9e646356a6166605c4c5c15f8aae50a6  # tags/GNOME_TODO_3_24_2^0
+_commit=25db155e03af9a77746336ae78a36c241c3446a8  # gnome-3-26
 source=("git+https://git.gnome.org/browse/gnome-todo#commit=$_commit")
 sha256sums=('SKIP')
 
+check() {
+  cd build
+  meson test
+}
+
 pkgver() {
   cd $pkgname
   git describe --tags | sed 's/^GNOME_TODO_//;s/_/./g;s/-/+/g'
@@ -22,20 +27,19 @@
 }
 
 prepare() {
+  mkdir build
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --enable-compile-warnings
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  cd build
+  meson setup --prefix=/usr --buildtype=release ../$pkgname
+  ninja
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  cd build
+  DESTDIR="$pkgdir" ninja install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list