[arch-commits] Commit in xfce4-power-manager/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Sep 16 02:46:19 UTC 2014


    Date: Tuesday, September 16, 2014 @ 04:46:19
  Author: foutrelis
Revision: 221797

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  xfce4-power-manager/repos/testing-i686/
  xfce4-power-manager/repos/testing-i686/PKGBUILD
    (from rev 221796, xfce4-power-manager/trunk/PKGBUILD)
  xfce4-power-manager/repos/testing-i686/xfce4-power-manager.install
    (from rev 221796, xfce4-power-manager/trunk/xfce4-power-manager.install)
  xfce4-power-manager/repos/testing-x86_64/
  xfce4-power-manager/repos/testing-x86_64/PKGBUILD
    (from rev 221796, xfce4-power-manager/trunk/PKGBUILD)
  xfce4-power-manager/repos/testing-x86_64/xfce4-power-manager.install
    (from rev 221796, xfce4-power-manager/trunk/xfce4-power-manager.install)

--------------------------------------------+
 testing-i686/PKGBUILD                      |   39 +++++++++++++++++++++++++++
 testing-i686/xfce4-power-manager.install   |   18 ++++++++++++
 testing-x86_64/PKGBUILD                    |   39 +++++++++++++++++++++++++++
 testing-x86_64/xfce4-power-manager.install |   18 ++++++++++++
 4 files changed, 114 insertions(+)

Copied: xfce4-power-manager/repos/testing-i686/PKGBUILD (from rev 221796, xfce4-power-manager/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-09-16 02:46:19 UTC (rev 221797)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Tobias Kieslich <tobias funnychar archlinux.org>
+
+pkgname=xfce4-power-manager
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Power manager for Xfce desktop"
+arch=('i686' 'x86_64')
+url="http://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4')
+depends=('xfce4-panel' 'upower' 'libnotify' 'hicolor-icon-theme')
+makedepends=('intltool')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/apps/$pkgname/1.4/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3fba9d1bdb2f535e5a5c2a832503368d26629d6fe496c547fa93a3278d2cf6e7')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-network-manager \
+    --enable-polkit \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-power-manager/repos/testing-i686/xfce4-power-manager.install (from rev 221796, xfce4-power-manager/trunk/xfce4-power-manager.install)
===================================================================
--- testing-i686/xfce4-power-manager.install	                        (rev 0)
+++ testing-i686/xfce4-power-manager.install	2014-09-16 02:46:19 UTC (rev 221797)
@@ -0,0 +1,18 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  if (($(vercmp $2 1.4.0-1) < 0)); then
+    echo ':: Xfce Power Manager no longer provides a tray icon.'
+    echo '   Please add the new Power Manager Plugin to your panel.'
+  fi
+
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-power-manager/repos/testing-x86_64/PKGBUILD (from rev 221796, xfce4-power-manager/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-09-16 02:46:19 UTC (rev 221797)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Tobias Kieslich <tobias funnychar archlinux.org>
+
+pkgname=xfce4-power-manager
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Power manager for Xfce desktop"
+arch=('i686' 'x86_64')
+url="http://www.xfce.org/"
+license=('GPL2')
+groups=('xfce4')
+depends=('xfce4-panel' 'upower' 'libnotify' 'hicolor-icon-theme')
+makedepends=('intltool')
+install=$pkgname.install
+source=(http://archive.xfce.org/src/apps/$pkgname/1.4/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3fba9d1bdb2f535e5a5c2a832503368d26629d6fe496c547fa93a3278d2cf6e7')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --sbindir=/usr/bin \
+    --libexecdir=/usr/lib \
+    --localstatedir=/var \
+    --disable-network-manager \
+    --enable-polkit \
+    --disable-debug
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: xfce4-power-manager/repos/testing-x86_64/xfce4-power-manager.install (from rev 221796, xfce4-power-manager/trunk/xfce4-power-manager.install)
===================================================================
--- testing-x86_64/xfce4-power-manager.install	                        (rev 0)
+++ testing-x86_64/xfce4-power-manager.install	2014-09-16 02:46:19 UTC (rev 221797)
@@ -0,0 +1,18 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  if (($(vercmp $2 1.4.0-1) < 0)); then
+    echo ':: Xfce Power Manager no longer provides a tray icon.'
+    echo '   Please add the new Power Manager Plugin to your panel.'
+  fi
+
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list