void-packages/srcpkgs/conky/template
Jürgen Buchmüller b8918e2a7d lua: update to 5.3.1
+ Rename lua and lua-devel to lua52 and lua52-devel
+ Modify packages depending on lua52 accordingly:
+ Many packages auto-detect lua52 files
+ Some packages need hints where / how to find lua52
+ One package (xmoto) downgraded to lua51, because it wouldn't find lua52
+ One package (vim) upgraded to lua (5.3.1)

There may be more packages upgradable without problems.
I didn't want to change too much in this move without the
respective package maintainers first taking a look.

Most notably conky-cli wouldn't work with lua52. I upgraded it
to 1.10.0 (same as conky) and tried to keep the flags the same
for the change from gnu-configure to cmake.
2015-10-02 11:24:59 +02:00

30 lines
1.1 KiB
Bash

# Template file for 'conky'
pkgname=conky
version=1.10.0
revision=3
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"
hostmakedepends="cmake libtool pkg-config docbook2x man-db"
makedepends="lua52-devel alsa-lib-devel libglib-devel libxml2-devel libXft-devel
libXdamage-devel imlib2-devel wireless_tools-devel libcurl-devel ncurses-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, GPL-3"
homepage="http://conky.sourceforge.net/"
distfiles="https://github.com/brndnmtthws/${pkgname}/archive/v${version}.tar.gz"
checksum=f392f3f91fcc37f04ff65d53957512e4d81b7b9b36394acb5ecaefe92623f8eb
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
}