2008-08-15 10:42:19 +02:00
|
|
|
# Description: Light-weight system monitor
|
2020-01-04 13:50:45 +01:00
|
|
|
# URL: https://github.com/brndnmtthws/conky
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2020-01-04 13:50:45 +01:00
|
|
|
# Depends on: curl cmake lua imlib2 libxml2 xorg-libxdamage xorg-libxft xorg-libxinerama
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=conky
|
2020-07-30 12:04:00 +02:00
|
|
|
version=1.11.6
|
2020-01-04 13:50:45 +01:00
|
|
|
release=1
|
2020-07-30 12:04:00 +02:00
|
|
|
source=(https://github.com/brndnmtthws/conky/archive/v$version/$name-$version.tar.gz)
|
2007-12-17 11:02:42 +01:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
build() {
|
2020-07-30 12:04:00 +02:00
|
|
|
cmake -S $name-$version -B build \
|
2020-11-20 12:38:24 +01:00
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
|
2020-01-04 13:50:45 +01:00
|
|
|
-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
|
2020-07-30 12:04:00 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-01-04 13:50:45 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|