2013-11-04 13:57:59 +01:00
|
|
|
# Template file for 'conky-cli'
|
|
|
|
pkgname=conky-cli
|
2015-11-20 22:20:00 +01:00
|
|
|
version=1.10.1
|
|
|
|
revision=1
|
2014-01-01 16:10:11 +01:00
|
|
|
wrksrc="${pkgname/-cli/}-${version}"
|
2015-10-01 22:07:55 +02:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="
|
|
|
|
-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DDOC_PATH=share/${pkgname}
|
|
|
|
-DBUILD_X11=OFF -DBUILD_CURL=ON -DBUILD_XDBE=OFF -DBUILD_RSS=ON -DBUILD_WEATHER_METAR=OFF
|
|
|
|
-DBUILD_WEATHER_XOAP=OFF -DBUILD_IMLIB2=OFF -DBUILD_WLAN=ON"
|
2015-11-20 22:20:00 +01:00
|
|
|
hostmakedepends="cmake libtool pkg-config docbook2x man-db git"
|
|
|
|
makedepends="lua-devel ncurses-devel wireless_tools-devel libglib-devel libcurl-devel libxml2-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
|
2014-02-27 09:13:04 +01:00
|
|
|
provides="conky-${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
conflicts="conky>=0"
|
2013-11-04 13:57:59 +01:00
|
|
|
short_desc="Conky command line without X11"
|
2015-10-02 12:56:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-10-01 22:07:55 +02:00
|
|
|
license="BSD, GPL-3"
|
2013-11-04 13:57:59 +01:00
|
|
|
homepage="http://conky.sourceforge.net/"
|
2015-10-02 11:53:40 +02:00
|
|
|
distfiles="https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz"
|
2015-11-20 22:20:00 +01:00
|
|
|
checksum=b4e66a71e8211d02b8dbe8cd4873af209af25326e63afd90c90ba9416c79cf21
|
2013-11-04 13:57:59 +01:00
|
|
|
|
2015-11-20 22:20:00 +01:00
|
|
|
post_extract() {
|
|
|
|
sed -i '1iinclude(CheckIncludeFile)' cmake/ConkyPlatformChecks.cmake
|
2014-02-27 09:13:04 +01:00
|
|
|
}
|
|
|
|
|
2013-12-30 20:16:50 +01:00
|
|
|
post_install() {
|
2015-10-01 22:07:55 +02:00
|
|
|
vmkdir etc/conky
|
|
|
|
mv ${DESTDIR}/usr/share/conky-cli/conky.conf ${DESTDIR}/etc/conky/
|
|
|
|
mv ${DESTDIR}/usr/share/conky-cli/conky_no_x11.conf ${DESTDIR}/etc/conky/
|
|
|
|
vlicense COPYING
|
2013-11-04 13:57:59 +01:00
|
|
|
}
|