summaryrefslogtreecommitdiff
path: root/conky/Pkgfile
blob: eefbb5a4fcefa1e3fc53e9c79cdfa964425bd0b6 (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.11.6
    8 release=1
    9 source=(https://github.com/brndnmtthws/conky/archive/v$version/$name-$version.tar.gz)
   10 
   11 build() {
   12     cmake -S $name-$version -B build \
   13         -D CMAKE_BUILD_TYPE=Release \
   14         -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
   15         -D CMAKE_INSTALL_PREFIX=/usr \
   16         -D SYSTEM_CONFIG_FILE=/usr/etc/conky.conf \
   17         -D BUILD_DOCS=OFF \
   18         -D BUILD_I18N=OFF \
   19         -D BUILD_CURL=ON \
   20         -D BUILD_RSS=ON \
   21         -D RELEASE=TRUE
   22     cmake --build build
   23     DESTDIR=$PKG cmake --install build
   24     rm -r $PKG/usr/share/doc
   25 }

Generated by cgit