aboutsummaryrefslogtreecommitdiffstats
path: root/main/conky/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-29 10:01:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-29 10:01:29 +0000
commit34ce8ff5cd8b363a63b2a790df6f621d0fdb1d18 (patch)
tree5c94887b38f0e4583d4f1f887be4e24e1db202ea /main/conky/APKBUILD
parent51a9b5a72a4ce768d6c175518c65ca4841406293 (diff)
downloadaports-34ce8ff5cd8b363a63b2a790df6f621d0fdb1d18.tar.bz2
aports-34ce8ff5cd8b363a63b2a790df6f621d0fdb1d18.tar.xz
main/conky: moved from testing
Diffstat (limited to 'main/conky/APKBUILD')
-rw-r--r--main/conky/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/conky/APKBUILD b/main/conky/APKBUILD
new file mode 100644
index 0000000000..9baa7d56c0
--- /dev/null
+++ b/main/conky/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=conky
+pkgver=1.8.0
+pkgrel=1
+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="494cbaf1108cfdb977fc80454d9b13e2 conky-1.8.0.tar.bz2"