# Description: Light-weight system monitor # URL: https://github.com/brndnmtthws/conky # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: cmake curl imlib2 libxml2 lua xorg-libxdamage xorg-libxft xorg-libxinerama name=conky version=1.19.8 release=1 source=(https://github.com/brndnmtthws/conky/archive/v$version/$name-$version.tar.gz) build() { prt-get isinst wayland && PKGMK_CONKY+=' -D BUILD_WAYLAND=ON' cmake -S $name-$version -B build -G Ninja $PKGMK_CONKY \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ -D CMAKE_INSTALL_PREFIX=/usr \ -D SYSTEM_CONFIG_FILE=/usr/etc/conky.conf \ -D BUILD_DOCS=OFF \ -D BUILD_I18N=OFF \ -D BUILD_CURL=ON \ -D BUILD_RSS=ON \ -D RELEASE=TRUE cmake --build build -j ${JOBS:-1} DESTDIR=$PKG cmake --install build rm -r $PKG/usr/share/doc }