# $Id: PKGBUILD 102220 2010-12-06 21:41:49Z bisson $ # Maintainer: Giovanni Scafora # Contributor: James Rayner # Contributor: Partha Chowdhury pkgname=conky pkgver=1.8.1 pkgrel=2 pkgdesc='An advanced, highly configurable system monitor for X based on torsmo' arch=('i686' 'x86_64') url='http://conky.sourceforge.net/' license=('custom') replaces=('torsmo') depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2') makedepends=('pkg-config') backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf') source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" 'current-power.patch') sha1sums=('06bbe9b7eed8603fa7a971b27c5c61f38424ac6f' '2eeef0cc5a0b612826b2a7f0b43b7a3b7e10bf0b') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 < ../current-power.patch # See FS#21984 ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --enable-wlan \ --enable-rss \ --enable-ibm \ --enable-imlib2 \ --disable-lua make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }