updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / conky-lua-nv-dev / PKGBUILD
blob1bfb5c542cec79f275963c8b636ece656a8415aa
1 # $Id: PKGBUILD 56122 2009-10-19 19:54:11Z giovanni $
2 # Maintainer: Andrwe Lord Weber <andrwe-lord-weber at renona-studios dot org>
3 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
4 # Contributor: James Rayner <james@archlinux.org>
5 # Contributor: Partha Chowdhury <kira.laucas@gmail.com>
6 # COntributor: Kaivalagi <m_buck@hotmail.com>
8 pkgname=conky-lua-nv-dev
9 _pkgname=conky
10 pkgver=1.8.0_rc2
11 pkgrel=1
12 pkgdesc="An advanced system monitor for X based on torsmo with lua and nvidia enabled (development version)"
13 arch=('i686' 'x86_64')
14 url="http://conky.sourceforge.net/"
15 license=('custom')
16 replaces=('torsmo' 'conky')
17 conflicts=('conky')
18 provides=('conky')
19 depends=('alsa-lib' 'libxml2' 'curl' 'cairo' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2' 'toluapp' 'nvidia' 'libxnvctrl')
20 makedepends=('pkgconfig')
21 backup=(etc/conky/conky.conf etc/conky/conky_no_x11.conf)
22 source=(http://downloads.sourceforge.net/project/${_pkgname}/${_pkgname}-development/${pkgver}/${_pkgname}-${pkgver}.tar.bz2)
23 md5sums=('12590c39e13dd0f62108c998a317e0ae')
25 build() {
26   cd ${srcdir}/${_pkgname}-${pkgver}
27   LUA51_LIBS='-llua -lm' ./configure --prefix=/usr \
28               --sysconfdir=/etc \
29               --enable-wlan \
30               --enable-rss \
31               --enable-ibm \
32               --enable-imlib2 \
33               --enable-lua \
34               --enable-lua-cairo \
35               --enable-lua-imlib2 \
36               --enable-nvidia
37   make || return 1
38   make DESTDIR=${pkgdir} install || return 1
39   install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE