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

Jan Steffens heftig at archlinux.org
Thu Jan 18 09:29:00 UTC 2018


    Date: Thursday, January 18, 2018 @ 09:28:59
  Author: heftig
Revision: 315049

FS#57108 gnome groups

Modified:
  gnome-todo/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-18 09:28:15 UTC (rev 315048)
+++ PKGBUILD	2018-01-18 09:28:59 UTC (rev 315049)
@@ -10,7 +10,7 @@
 license=(GPL)
 depends=(evolution-data-server libpeas python)
 makedepends=(gobject-introspection appstream-glib git meson gtk-doc)
-groups=(gnome-extra)
+groups=(gnome)
 _commit=7fc6169efedbd75877aa8b3f13c6e8125c169a0c  # tags/GNOME_TODO_3_26_2^0
 source=("git+https://gitlab.gnome.org/GNOME/gnome-todo.git#commit=$_commit"
         gnome-todo-3.26.2-libical-3.0.patch)
@@ -23,16 +23,14 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
   patch -Np1 -i ../gnome-todo-3.26.2-libical-3.0.patch
 }
 
 build() {
-  cd build
   LDFLAGS+=" -fuse-ld=gold"  # Avoid endless loop in ld.bfd
-  arch-meson ../$pkgname -Denable-gtk-doc=true -Db_lto=false
-  ninja
+  arch-meson $pkgname build -Denable-gtk-doc=true -Db_lto=false
+  ninja -C build
 }
 
 check() {
@@ -41,8 +39,7 @@
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list