updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / computertemp / PKGBUILD
blob2f9ccec1b29f6b5e1193adb11b26c1b0f8f36eeb
1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
3 # Contributor: William Rea <sillywilly@gmail.com>
5 pkgname=computertemp
6 pkgver=0.9.6.1
7 pkgrel=4
8 pkgdesc="GNOME applet that shows the temperature of your CPU"
9 arch=('i686' 'x86_64')
10 url="http://computertemp.berlios.de"
11 license=('GPL')
12 depends=('gnome-panel' 'gnome-python-desktop' 'hddtemp' 'gconf>=2.18.0.1-4')
13 makedepends=('intltool' 'gnome-doc-utils>=0.11.2')
14 source=(http://download.berlios.de/computertemp/computertemp-$pkgver.tar.gz)
15 install=$pkgname.install
16 md5sums=('3c42a1ab447c29e9eb1e51b98f9af595')
18 build() {
19   cd $srcdir/$pkgname-$pkgver
20   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
21     --disable-scrollkeeper
22   make || return 1
23   make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$pkgdir install || return 1
25   mkdir -p $pkgdir/usr/share/gconf/schemas
26   gconf-merge-schema $pkgdir/usr/share/gconf/schemas/${pkgname}.schemas \
27     $pkgdir/etc/gconf/schemas/*.schemas
28   rm -f $pkgdir/etc/gconf/schemas/*.schemas