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

Jan Steffens heftig at archlinux.org
Wed Sep 5 20:04:51 UTC 2018


    Date: Wednesday, September 5, 2018 @ 20:04:51
  Author: heftig
Revision: 333537

3.30.0-1

Modified:
  lightsoff/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-05 20:04:38 UTC (rev 333536)
+++ PKGBUILD	2018-09-05 20:04:51 UTC (rev 333537)
@@ -1,9 +1,8 @@
-# $Id$
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=lightsoff
-pkgver=3.28.0+1+g2167aa4
+pkgver=3.30.0
 pkgrel=1
 pkgdesc="Turn off all the lights"
 url="https://wiki.gnome.org/Apps/Lightsoff"
@@ -10,10 +9,10 @@
 arch=(x86_64)
 license=(GPL)
 depends=(clutter-gtk librsvg)
-makedepends=(intltool itstool gobject-introspection yelp-tools appstream-glib vala git)
+makedepends=(gobject-introspection yelp-tools appstream-glib vala git meson)
 groups=(gnome-extra)
-_commit=2167aa4d32a2155aaac937ff4583870fbed0d497  # master
-source=("git+https://git.gnome.org/browse/lightsoff#commit=$_commit")
+_commit=c5cf5324176f1d3eea1d1150ab752e7243b7b2db  # tags/3.30.0^0
+source=("git+https://gitlab.gnome.org/GNOME/lightsoff.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -23,17 +22,17 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-      --disable-schemas-compile
-  make
+  arch-meson $pkgname build
+  ninja -C build
 }
 
+check() {
+  meson test -C build
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" meson install -C build
 }


Property changes on: lightsoff/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property



More information about the arch-commits mailing list