conky-cli: enable docs

This commit is contained in:
Lorem 2020-05-02 05:56:53 +05:30 committed by Helmut Pozimski
parent 3b2bd22b69
commit 4bdc8cfffe

View file

@ -1,14 +1,15 @@
# Template file for 'conky-cli'
pkgname=conky-cli
version=1.11.5
revision=1
revision=2
wrksrc="${pkgname/-cli/}-${version}"
build_style=cmake
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
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_IMLIB2=OFF -DBUILD_WLAN=ON"
hostmakedepends="libtool pkg-config docbook2x man-db git"
configure_args="-DCMAKE_BUILD_TYPE=Release -DMAINTAINER_MODE=ON -DRELEASE=ON
-DDOC_PATH=share/doc/${pkgname} -DBUILD_X11=OFF -DBUILD_CURL=ON -DBUILD_XDBE=OFF
-DBUILD_RSS=ON -DBUILD_WEATHER_METAR=OFF -DBUILD_IMLIB2=OFF -DBUILD_WLAN=ON
-DBUILD_DOCS=ON"
hostmakedepends="libtool pkg-config docbook2x man-db"
makedepends="libcurl-devel libglib-devel libxml2-devel lua-devel
wireless_tools-devel"
short_desc="Conky command line without X11"
@ -29,7 +30,8 @@ post_extract() {
post_install() {
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/
mv ${DESTDIR}/usr/share/doc/conky-cli/conky.conf ${DESTDIR}/etc/conky/
mv ${DESTDIR}/usr/share/doc/conky-cli/conky_no_x11.conf ${DESTDIR}/etc/conky/
rm ${DESTDIR}/usr/share/doc/conky-cli/convert.lua
vlicense COPYING
}