[arch-commits] Commit in gnome-power-manager/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:26:22 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:26:22
  Author: felixonmars
Revision: 386302

archrelease: copy trunk to staging-x86_64

Added:
  gnome-power-manager/repos/staging-x86_64/
  gnome-power-manager/repos/staging-x86_64/PKGBUILD
    (from rev 386299, gnome-power-manager/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: gnome-power-manager/repos/staging-x86_64/PKGBUILD (from rev 386299, gnome-power-manager/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:26:22 UTC (rev 386302)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-power-manager
+pkgver=3.32.0
+pkgrel=2
+pkgdesc="System power information and statistics"
+url="https://gitlab.gnome.org/GNOME/gnome-power-manager"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 upower dconf)
+makedepends=(git meson)
+_commit=147464788853d4d5eb35514d7597cf22a24b5af1  # tags/GNOME_POWER_MANAGER_3_32_0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-power-manager.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^GNOME_POWER_MANAGER_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  meson test -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list