aboutsummaryrefslogtreecommitdiffstats
path: root/main/conky/APKBUILD
blob: 2e2da2d3111196117aa795d9eb2b1c07df662642 (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
30
31
32
33
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=conky
pkgver=1.8.1
pkgrel=0
pkgdesc="An advanced, highly configurable system monitor for X based on torsmo"
url="http://conky.sourceforge.net/"
license="custom"
depends=""
makedepends="pkgconfig alsa-lib-dev libxml2-dev curl-dev wireless-tools-dev
	libxft-dev glib-dev libxdamage-dev libxext-dev imlib2-dev lua-dev
	cairo-dev tolua++ ncurses-dev
	"
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.sourceforge.net/project/conky/conky/$pkgver/conky-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build () 
{ 
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--enable-wlan \
		--enable-rss \
		--enable-ibm \
		--enable-imlib2 \
		--enable-lua \
		--enable-lua-cairo \
		--enable-lua-imlib2 \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

md5sums="366dc6a5c2ebebfbe6f53da25061b5d6  conky-1.8.1.tar.bz2"