updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / conky-tui / PKGBUILD
bloba1a82b6e22dfaa792024e73a284440af14693e79
1 # Contributor: Karol Cichy <slothck@gmail.com> 
3 pkgname=conky-tui
4 _pkgname=conky
5 pkgver=1.8.1
6 pkgrel=1
7 pkgdesc="Conky command line, without X11 dependencies, with extra features enabled"
8 arch=(i686 x86_64)
9 url="http://conky.sourceforge.net/"
10 license=("custom")
11 replaces=('torsmo')
12 provides=('conky')
13 conflicts=('conky')
14 depends=('glib2' 'lua' 'wireless_tools' 'libxml2' 'curl')
15 makedepends=('pkgconfig')
16 source=(http://downloads.sourceforge.net/project/${_pkgname}/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.bz2)
17 sha1sums=('9581419b1a53a8a7e37b0291cd4e55ab166d221a')
19 build() {
20   cd $srcdir/conky-$pkgver
22   patch -p1 -i ../conky-1.8.1-nvidia-x.patch || return 1
24   ./configure \
25   --prefix=/usr \
26   --sysconfdir=/etc \
27   --enable-lua \
28   --disable-lua-cairo \
29   --disable-double-buffer \
30   --disable-x11 \
31   --disable-xdamage \
32   --disable-own-window \
33   --disable-xft \
34   --enable-hddtemp \
35   --enable-portmon \
36   --enable-ibm \
37   --enable-curl \
38   --enable-rss \
39   --enable-nvidia \
40   --enable-weather-xoap \
41   --enable-weather-metar \
42   --enable-ncurses \
43   --enable-wlan
45   make || return 1
46   make DESTDIR=$pkgdir install
47   install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE