summaryrefslogtreecommitdiffstats
path: root/abs/extra/conky/PKGBUILD
blob: 726f426e16d6c493570c1347c74edfb98706ea7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 15346 2008-10-12 21:48:59Z giovanni $
# Maintainer: James Rayner <james@archlinux.org>
# Contributor: MrGreen <mrgreen.linuxuser@gmail.com>

pkgname=conky
pkgver=1.6.1
pkgrel=2
pkgdesc="Conky is 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=('libxext' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/conky/$pkgname-$pkgver.tar.bz2)
md5sums=('b2839f21cec18e5eaa338c7440a1ba28')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --enable-xft --enable-mpd --enable-double-buffer \
  --enable-proc-uptime --enable-seti --enable-wlan --enable-rss --enable-smapi
  make || return 1
  make DESTDIR=$startdir/pkg install
  mkdir -p $startdir/pkg/etc/xdg/
  mv $startdir/pkg/usr/etc/conky/ $startdir/pkg/etc/xdg/
  rmdir $startdir/pkg/usr/etc
  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}