summaryrefslogtreecommitdiff
path: root/community/xsensors/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xsensors/PKGBUILD')
-rw-r--r--community/xsensors/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/xsensors/PKGBUILD b/community/xsensors/PKGBUILD
index 012474a55..16a329b5e 100644
--- a/community/xsensors/PKGBUILD
+++ b/community/xsensors/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 21366 2010-07-16 09:09:09Z lcarlier $
+# $Id: PKGBUILD 59264 2011-11-22 07:31:16Z lcarlier $
# Maintainer : Laurent Carlier <lordheavym@gmail.com>
# Contributor: Ray Rashif <schivmeister@gmail.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
@@ -6,7 +6,7 @@
pkgname=xsensors
pkgver=0.70
-pkgrel=2
+pkgrel=3
pkgdesc="X11 interface to lm_sensors"
arch=('i686' 'x86_64')
url="http://www.linuxhardware.org/xsensors/"
@@ -14,16 +14,20 @@ license=('GPL')
depends=('gtk2' 'lm_sensors')
changelog=$pkgname.changelog
source=(http://www.linuxhardware.org/xsensors/$pkgname-$pkgver.tar.gz
- fix-deprecated-GTK_WIDGET_STATE-call.diff
+ remove-unused-variables.patch
+ replace-deprecated-gtk.patch
xsensors.desktop)
md5sums=('4f8fb83cfd03c0cc34967a73c6021531'
- 'e5ac8e58f0dd27501234692587c01b76'
+ '8ca558b7f7e4a5f83f63498668c4ad8f'
+ 'd9ee6799d45adc7c62273f32085bec5f'
'fe1369d2b61eed1a25002e2247617357')
build() {
cd ${srcdir}/$pkgname-$pkgver
- patch -Np1 -i ${srcdir}/fix-deprecated-GTK_WIDGET_STATE-call.diff
+ # patches from debian
+ patch -Np1 -i ${srcdir}/remove-unused-variables.patch
+ patch -Np1 -i ${srcdir}/replace-deprecated-gtk.patch
./configure --prefix=/usr
make