diff options
Diffstat (limited to 'extra/xfce4-cpufreq-plugin')
-rw-r--r-- | extra/xfce4-cpufreq-plugin/PKGBUILD | 34 | ||||
-rw-r--r-- | extra/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.install | 11 |
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/xfce4-cpufreq-plugin/PKGBUILD b/extra/xfce4-cpufreq-plugin/PKGBUILD new file mode 100644 index 000000000..f1d95fe32 --- /dev/null +++ b/extra/xfce4-cpufreq-plugin/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 107296 2011-01-23 10:18:21Z andyrtr $ +# Maintainer: AndyRTR <andyrtr@archlinux.org> +# Contributor: tobias <tobias funnychar archlinux.org> + +pkgname=xfce4-cpufreq-plugin +pkgver=1.0.0 +pkgrel=1 +pkgdesc="CPU frequency plugin for the Xfce4 panel" +arch=('i686' 'x86_64' 'mips64el') +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/extra/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.install b/extra/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin.install new file mode 100644 index 000000000..21b79d2d4 --- /dev/null +++ b/extra/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 +} |