updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / conky-cli-old / PKGBUILD
blob3d251decac2ce05dadf1161e9ffdc066ef4f09f6
1 # Contributor: JokerBoy <jokerboy at punctweb dot ro>
3 pkgname=conky-cli-old
4 _pkgname=conky
5 pkgver=1.8.0
6 pkgrel=1
7 pkgdesc='Conky command line, without X11 dependencies (old version)'
8 arch=('i686' 'x86_64')
9 url='http://conky.sourceforge.net'
10 license=('custom')
11 depends=('alsa-lib' 'ncurses')
12 provides=('conky')
13 conflicts=('conky')
14 options=(!emptydirs)
15 source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
16 md5sums=('3fcc5bc005c6c046587134cdb9fdadfa')
18 build() {
19   cd "${srcdir}/${_pkgname}-${pkgver}"
20   ./configure \
21       --prefix=/usr \
22       --sysconfdir=/etc \
23       --disable-lua \
24       --disable-x11 \
25       --disable-double-buffer \
26       --disable-xdamage \
27       --disable-own-window \
28       --disable-xft \
29       --disable-hddtemp \
30       --disable-portmon
31   make ${MAKEFLAGS}
34 package() {
35   cd "${srcdir}/${_pkgname}-${pkgver}"
36   make DESTDIR="${pkgdir}" install
37   mv "${pkgdir}/etc/conky/conky_no_x11.conf" "${pkgdir}/etc/conky/conky.conf"
38   install -D -m644 'COPYING' "${pkgdir}/usr/share/licenses/conky/LICENSE"