opt/conky/Pkgfile

26 lines
752 B
Plaintext
Raw Normal View History

2008-08-15 10:42:19 +02:00
# Description: Light-weight system monitor
2021-03-05 12:02:45 +01:00
# URL: https://github.com/brndnmtthws/conky
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: curl cmake lua imlib2 libxml2 xorg-libxdamage xorg-libxft xorg-libxinerama
2006-02-23 16:26:10 +01:00
name=conky
2022-10-17 13:01:29 +02:00
version=1.15.0
release=1
2020-07-30 12:04:00 +02:00
source=(https://github.com/brndnmtthws/conky/archive/v$version/$name-$version.tar.gz)
2006-02-23 16:26:10 +01:00
build() {
2021-03-05 12:02:45 +01:00
cmake -S $name-$version -B build \
-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
2006-02-23 16:26:10 +01:00
}