diff options
author | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-30 00:01:38 +0000 |
commit | b7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch) | |
tree | dc5e84c1f7271cf0c8ec0221b5a22e48a884081a /testing/xfce4-cpufreq-plugin | |
parent | 4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff) |
Mon Apr 30 00:01:38 UTC 2012
Diffstat (limited to 'testing/xfce4-cpufreq-plugin')
-rw-r--r-- | testing/xfce4-cpufreq-plugin/PKGBUILD | 34 | ||||
-rw-r--r-- | testing/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.install | 11 |
2 files changed, 45 insertions, 0 deletions
diff --git a/testing/xfce4-cpufreq-plugin/PKGBUILD b/testing/xfce4-cpufreq-plugin/PKGBUILD new file mode 100644 index 000000000..8669ae1c2 --- /dev/null +++ b/testing/xfce4-cpufreq-plugin/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 157657 2012-04-29 02:54:03Z foutrelis $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> +# Contributor: tobias <tobias funnychar archlinux.org> + +pkgname=xfce4-cpufreq-plugin +pkgver=1.0.0 +pkgrel=3 +pkgdesc="CPU frequency plugin for the Xfce4 panel" +arch=('i686' 'x86_64') +license=('GPL2') +url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin" +groups=('xfce4-goodies') +depends=('xfce4-panel>=4.7.4' 'libxfcegui4' 'hicolor-icon-theme') +makedepends=('intltool') +options=('!libtool') +install=${pkgname}.install +source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/1.0/${pkgname}-${pkgver}.tar.bz2) +md5sums=('24cae9b8583cae82b715b4f72aa8e341') + +build() { + cd ${srcdir}/xfce4-cpufreq-plugin-${pkgver} + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-static \ + --disable-debug + make +} + +package() { + cd ${srcdir}/xfce4-cpufreq-plugin-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/testing/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.install b/testing/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/testing/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} |