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

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


    Date: Thursday, January 18, 2018 @ 09:22:29
  Author: heftig
Revision: 315040

FS#57108 gnome groups

Modified:
  gnome-clocks/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-18 09:20:44 UTC (rev 315039)
+++ PKGBUILD	2018-01-18 09:22:29 UTC (rev 315040)
@@ -10,7 +10,7 @@
 license=(GPL)
 depends=(gtk3 libcanberra libgweather gnome-desktop geoclue2 geocode-glib gsound)
 makedepends=(vala gobject-introspection itstool yelp-tools git meson)
-groups=(gnome-extra)
+groups=(gnome)
 _commit=ba217e6d81d446ee88abc016b428c63f6face55e  # tags/3.26.1^0
 source=("git+https://git.gnome.org/browse/gnome-clocks#commit=$_commit")
 sha256sums=('SKIP')
@@ -21,14 +21,12 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
 }
 
 build() {
-  cd build
-  meson setup --prefix=/usr --buildtype=release ../$pkgname
-  ninja
+  arch-meson $pkgname build
+  ninja -C build
 }
 
 check() {
@@ -37,6 +35,5 @@
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list