blob: 4acce8e0c49a9c42d6e0a24b467367b4f3162fd1 (
plain)
1 # Description: Light-weight system monitor
2 # URL: https://github.com/brndnmtthws/conky
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: curl cmake lua imlib2 libxml2 xorg-libxdamage xorg-libxft xorg-libxinerama
5
6 name=conky
7 version=1.17.0
8 release=1
9 source=(https://github.com/brndnmtthws/conky/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 prt-get isinst wayland && PKGMK_CONKY+=' -D BUILD_WAYLAND=ON'
13 cmake -S $name-$version -B build -G Ninja $PKGMK_CONKY \
14 -D CMAKE_BUILD_TYPE=Release \
15 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
16 -D CMAKE_INSTALL_PREFIX=/usr \
17 -D SYSTEM_CONFIG_FILE=/usr/etc/conky.conf \
18 -D BUILD_DOCS=OFF \
19 -D BUILD_I18N=OFF \
20 -D BUILD_CURL=ON \
21 -D BUILD_RSS=ON \
22 -D RELEASE=TRUE
23 cmake --build build -j ${JOBS:-1}
24 DESTDIR=$PKG cmake --install build
25 rm -r $PKG/usr/share/doc
26 }
|