[arch-commits] Commit in gnome-power-manager/repos (4 files)
Jan Steffens
heftig at archlinux.org
Sat Apr 22 13:01:20 UTC 2017
Date: Saturday, April 22, 2017 @ 13:01:19
Author: heftig
Revision: 293919
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gnome-power-manager/repos/testing-i686/
gnome-power-manager/repos/testing-i686/PKGBUILD
(from rev 293916, gnome-power-manager/trunk/PKGBUILD)
gnome-power-manager/repos/testing-x86_64/
gnome-power-manager/repos/testing-x86_64/PKGBUILD
(from rev 293916, gnome-power-manager/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
Copied: gnome-power-manager/repos/testing-i686/PKGBUILD (from rev 293916, gnome-power-manager/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-04-22 13:01:19 UTC (rev 293919)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-power-manager
+pkgver=3.24.0+5+gceaae952
+pkgrel=1
+pkgdesc="System power information and statistics"
+url="https://git.gnome.org/browse/gnome-power-manager"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtk3 upower dconf)
+makedepends=(intltool gnome-common git meson)
+_commit=ceaae9523388e805f60f1faffa46fda129f571e6 # master
+source=("git+https://git.gnome.org/browse/gnome-power-manager#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^GNOME_POWER_MANAGER_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+}
+
+build() {
+ cd build
+ meson --prefix=/usr --buildtype=release ../$pkgname
+ ninja
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}
Copied: gnome-power-manager/repos/testing-x86_64/PKGBUILD (from rev 293916, gnome-power-manager/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-04-22 13:01:19 UTC (rev 293919)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-power-manager
+pkgver=3.24.0+5+gceaae952
+pkgrel=1
+pkgdesc="System power information and statistics"
+url="https://git.gnome.org/browse/gnome-power-manager"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(gtk3 upower dconf)
+makedepends=(intltool gnome-common git meson)
+_commit=ceaae9523388e805f60f1faffa46fda129f571e6 # master
+source=("git+https://git.gnome.org/browse/gnome-power-manager#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^GNOME_POWER_MANAGER_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ mkdir build
+ cd $pkgname
+}
+
+build() {
+ cd build
+ meson --prefix=/usr --buildtype=release ../$pkgname
+ ninja
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list