2013-08-16 08:54:03 +00:00
|
|
|
# Template file for 'conky'
|
|
|
|
pkgname=conky
|
2015-11-20 16:45:54 +00:00
|
|
|
version=1.10.1
|
|
|
|
revision=1
|
2015-08-26 03:39:20 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="
|
|
|
|
-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DDOC_PATH=share/${pkgname}
|
|
|
|
-DBUILD_X11=ON -DBUILD_CURL=ON -DBUILD_XDBE=ON -DBUILD_RSS=ON -DBUILD_WEATHER_METAR=ON
|
|
|
|
-DBUILD_WEATHER_XOAP=ON -DBUILD_IMLIB2=ON -DBUILD_WLAN=ON"
|
2015-11-20 16:45:54 +00:00
|
|
|
hostmakedepends="cmake libtool pkg-config docbook2x man-db git"
|
|
|
|
makedepends="lua-devel alsa-lib-devel libglib-devel libxml2-devel libXft-devel
|
2013-08-16 08:55:23 +00:00
|
|
|
libXdamage-devel imlib2-devel wireless_tools-devel libcurl-devel ncurses-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
|
2013-08-16 08:54:03 +00:00
|
|
|
short_desc="Lightweight system monitor for X"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-08-26 03:39:20 +00:00
|
|
|
license="BSD, GPL-3"
|
2013-08-16 08:54:03 +00:00
|
|
|
homepage="http://conky.sourceforge.net/"
|
2015-08-26 03:39:20 +00:00
|
|
|
distfiles="https://github.com/brndnmtthws/${pkgname}/archive/v${version}.tar.gz"
|
2015-11-20 16:45:54 +00:00
|
|
|
checksum=b4e66a71e8211d02b8dbe8cd4873af209af25326e63afd90c90ba9416c79cf21
|
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
sed -i '1iinclude(CheckIncludeFile)' cmake/ConkyPlatformChecks.cmake
|
|
|
|
}
|
2014-02-27 08:09:02 +00:00
|
|
|
|
2015-08-26 03:39:20 +00:00
|
|
|
do_install() {
|
|
|
|
make -C build DESTDIR=${DESTDIR} install
|
|
|
|
|
|
|
|
vmkdir etc/conky
|
|
|
|
mv ${DESTDIR}/usr/share/conky/conky.conf ${DESTDIR}/etc/conky/
|
|
|
|
mv ${DESTDIR}/usr/share/conky/conky_no_x11.conf ${DESTDIR}/etc/conky/
|
|
|
|
|
|
|
|
vlicense COPYING
|
2014-02-27 08:09:02 +00:00
|
|
|
}
|
2015-08-26 03:39:20 +00:00
|
|
|
|