1 # Maintainer: Renato Garcia <fgar.renato@gmail.com>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: James Rayner <james@archlinux.org>
4 # Contributor: Partha Chowdhury <kira.laucas@gmail.com>
5 # Contributor: Gaetan Bisson <bisson@archlinux.org>
11 pkgdesc='An advanced, highly configurable system monitor for X based on torsmo, with lua bindings enabled.'
12 arch=('i686' 'x86_64')
13 url='http://conky.sourceforge.net/'
16 makedepends=('pkg-config' 'toluapp')
17 depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2' 'lua' 'cairo')
18 provides=('conky=1.8.1')
20 backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
21 source=("http://downloads.sourceforge.net/project/${_pkgname}/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.gz"
22 'current-power.patch')
23 sha1sums=('06bbe9b7eed8603fa7a971b27c5c61f38424ac6f'
24 '2eeef0cc5a0b612826b2a7f0b43b7a3b7e10bf0b')
27 cd "${srcdir}/${_pkgname}-${pkgver}"
29 patch -p1 < ../current-power.patch # See FS#21984
32 /#include <curl\/types.h>/ c\
33 //#include <curl/types.h>' src/eve.c
36 /#include <curl\/types.h>/ c\
37 //#include <curl/types.h>' src/ccurl_thread.c
45 --enable-weather-xoap \
56 cd "${srcdir}/${_pkgname}-${pkgver}"
57 make DESTDIR="${pkgdir}" install
58 install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"