36 lines
1.4 KiB
Bash
36 lines
1.4 KiB
Bash
# Template file for 'conky-cli'
|
|
pkgname=conky-cli
|
|
version=1.10.4
|
|
revision=1
|
|
wrksrc="${pkgname/-cli/}-${version}"
|
|
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"
|
|
hostmakedepends="cmake libtool pkg-config docbook2x man-db git"
|
|
makedepends="lua-devel ncurses-devel wireless_tools-devel libglib-devel libcurl-devel libxml2-devel"
|
|
conf_files="/etc/conky/conky.conf /etc/conky/conky_no_x11.conf"
|
|
provides="conky-${version}_${revision}"
|
|
conflicts="conky>=0"
|
|
short_desc="Conky command line without X11"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="BSD, GPL-3"
|
|
homepage="http://conky.sourceforge.net/"
|
|
distfiles="https://github.com/brndnmtthws/conky/archive/v${version}.tar.gz"
|
|
checksum=ed61ffb3be9fd24965d40401c7d54553e732038f3da2e03454915779384f59b4
|
|
|
|
broken="https://build.voidlinux.eu/builders/x86_64_builder/builds/24716/steps/shell_3/logs/stdio"
|
|
|
|
post_extract() {
|
|
sed -i -e '1iinclude(CheckIncludeFile)' \
|
|
-e 's/NCURSES ncurses/NCURSES ncursesw/' \
|
|
cmake/ConkyPlatformChecks.cmake
|
|
}
|
|
|
|
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/
|
|
vlicense COPYING
|
|
}
|