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

Jan Steffens heftig at archlinux.org
Sat Apr 22 00:57:51 UTC 2017


    Date: Saturday, April 22, 2017 @ 00:57:50
  Author: heftig
Revision: 293872

3.24.0+5+gceaae952-1

Modified:
  gnome-power-manager/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-04-22 00:57:38 UTC (rev 293871)
+++ PKGBUILD	2017-04-22 00:57:50 UTC (rev 293872)
@@ -3,7 +3,7 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-power-manager
-pkgver=3.22.2
+pkgver=3.24.0+5+gceaae952
 pkgrel=1
 pkgdesc="System power information and statistics"
 url="https://git.gnome.org/browse/gnome-power-manager"
@@ -10,10 +10,9 @@
 arch=(i686 x86_64)
 license=(GPL)
 depends=(gtk3 upower dconf)
-makedepends=(intltool gnome-common git)
-options=(!emptydirs)
-_commit=1b477ec670df6b9a8d6c55f458d554910e1fd0f8  # tags/GNOME_POWER_MANAGER_3_22_2^0
-source=("git://git.gnome.org/gnome-power-manager#commit=$_commit")
+makedepends=(intltool gnome-common git meson)
+_commit=ceaae9523388e805f60f1faffa46fda129f571e6  # master
+source=("git+https://git.gnome.org/browse/gnome-power-manager#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
@@ -22,20 +21,17 @@
 }
 
 prepare() {
+  mkdir build
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc \
-      --localstatedir=/var \
-      --libexecdir=/usr/lib/gnome-power-manager \
-      --disable-schemas-compile
-  make
+  cd build
+  meson --prefix=/usr --buildtype=release ../$pkgname
+  ninja
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  cd build
+  DESTDIR="$pkgdir" ninja install
 }



More information about the arch-commits mailing list