void-packages/srcpkgs/conky/template
2018-12-03 06:14:13 -02:00

31 lines
1.2 KiB
Bash

# Template file for 'conky'
pkgname=conky
version=1.11.0
revision=1
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_IMLIB2=ON -DBUILD_WLAN=ON -DBUILD_LUA_CAIRO=ON -DBUILD_LUA_IMLIB2=ON
-DBUILD_LUA_RSVG=ON -DBUILD_XSHAPE=ON"
hostmakedepends="libtool pkg-config docbook2x man-db git toluapp"
makedepends="alsa-lib-devel imlib2-devel libXdamage-devel libXft-devel libXinerama-devel
libcurl-devel librsvg-devel lua51-devel toluapp-devel wireless_tools-devel"
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
short_desc="Lightweight system monitor for X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD-3-Clause, GPL-3.0-or-later"
homepage="https://github.com/brndnmtthws/conky"
distfiles="https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz"
checksum=cc75b5f6cdeefa83082f3dedf5a12105569c2cdc0ae3e7728922d79bc4abcf51
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
}