diff options
author | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
commit | 0dee03071a0643c3ee5820afa3c694dcef71d385 (patch) | |
tree | 2aa6cbee930040086600726e496a2bd87ec41ba8 /extra/xfce4-power-manager | |
parent | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (diff) |
Tue Feb 7 23:15:14 UTC 2012
Diffstat (limited to 'extra/xfce4-power-manager')
-rw-r--r-- | extra/xfce4-power-manager/PKGBUILD | 51 | ||||
-rw-r--r-- | extra/xfce4-power-manager/xfce4-power-manager.install | 6 |
2 files changed, 31 insertions, 26 deletions
diff --git a/extra/xfce4-power-manager/PKGBUILD b/extra/xfce4-power-manager/PKGBUILD index 9992fc0a4..bb2067066 100644 --- a/extra/xfce4-power-manager/PKGBUILD +++ b/extra/xfce4-power-manager/PKGBUILD @@ -1,41 +1,44 @@ -# $Id: PKGBUILD 112918 2011-03-07 18:39:50Z andyrtr $ -# Maintainer: Andreas Radke <andyrtr@archlinux.org> +# $Id: PKGBUILD 149179 2012-02-06 06:31:48Z foutrelis $ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Tobias Kieslich <tobias funnychar archlinux.org> pkgname=xfce4-power-manager pkgver=1.0.10 -pkgrel=2 -pkgdesc="power manager for xfce4 desktop" -arch=(i686 x86_64) -license=('GPL2') +pkgrel=3 +pkgdesc="Power manager for Xfce desktop" +arch=('i686' 'x86_64') url="http://xfce-goodies.berlios.de/" +license=('GPL2') groups=('xfce4-goodies') -depends=('xfce4-panel>=4.7.4' 'upower' 'udisks' 'libnotify>=0.7.1' 'hicolor-icon-theme' 'librsvg') +depends=('xfce4-panel' 'upower' 'udisks' 'libnotify' 'hicolor-icon-theme' + 'librsvg') makedepends=('pkgconfig' 'intltool') options=('!libtool') -install=${pkgname}.install -source=(http://archive.xfce.org/src/apps/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2 - xfce4-power-manager-1.0.10-libnotify-0.7.patch) -md5sums=('38cbd272eb30e36ae538d9f38858bd38' - 'c790f973c29654701bb0748f842be4f7') +install=$pkgname.install +source=(http://archive.xfce.org/src/apps/$pkgname/1.0/$pkgname-$pkgver.tar.bz2 + xfce4-power-manager-1.0.10-libnotify-0.7.patch) +sha256sums=('80e4bb44f81c485ec09654dde432d6e28667d49a787625632a4413aac30422f0' + '8bebb7830a4a7d9a49f5f06280aaf7bd703aceaecddcd9e2069e7c2c45dbc013') build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "$srcdir/$pkgname-$pkgver" + + patch -Np1 -i "$srcdir/xfce4-power-manager-1.0.10-libnotify-0.7.patch" - patch -Np1 -i ${srcdir}/xfce4-power-manager-1.0.10-libnotify-0.7.patch - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib \ - --localstatedir=/var \ - --disable-network-manager \ - --enable-polkit \ - --enable-dpms \ - --disable-debug + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-network-manager \ + --enable-polkit \ + --enable-dpms \ + --disable-debug make } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: diff --git a/extra/xfce4-power-manager/xfce4-power-manager.install b/extra/xfce4-power-manager/xfce4-power-manager.install index 21b79d2d4..e4f8fd06c 100644 --- a/extra/xfce4-power-manager/xfce4-power-manager.install +++ b/extra/xfce4-power-manager/xfce4-power-manager.install @@ -3,9 +3,11 @@ post_install() { } post_upgrade() { - post_install $1 + post_install } post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install } + +# vim:set ts=2 sw=2 et: |