31 lines
1.3 KiB
Bash
31 lines
1.3 KiB
Bash
# Template file for 'conky'
|
|
# Keep in sync with 'conky-cli'
|
|
pkgname=conky
|
|
version=1.12.1
|
|
revision=1
|
|
build_style=cmake
|
|
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
|
|
configure_args="-DMAINTAINER_MODE=ON -DRELEASE=ON
|
|
-DDOC_PATH=share/doc/${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 -DBUILD_DOCS=ON"
|
|
hostmakedepends="libtool pkg-config docbook2x man-db toluapp"
|
|
makedepends="alsa-lib-devel imlib2-devel libXdamage-devel libXft-devel
|
|
libXinerama-devel libcurl-devel librsvg-devel lua53-devel ncurses-devel
|
|
toluapp-devel wireless_tools-devel"
|
|
short_desc="Lightweight system monitor for X"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=c95ac686a1095d29c2f44cfc3849b80ce9a0aba1e054fd6105d10af04bb2d8a8
|
|
|
|
post_install() {
|
|
vmkdir etc/conky
|
|
mv ${DESTDIR}/usr/share/doc/conky/conky.conf ${DESTDIR}/etc/conky/
|
|
mv ${DESTDIR}/usr/share/doc/conky/conky_no_x11.conf ${DESTDIR}/etc/conky/
|
|
rm ${DESTDIR}/usr/share/doc/conky/convert.lua
|
|
vlicense COPYING
|
|
}
|