summaryrefslogtreecommitdiff
path: root/extra/xfce4-cpufreq-plugin/PKGBUILD
blob: f237d167507b57f6a4d913fd4d9f172893f7ea2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 157843 2012-04-30 04:20:08Z 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
}