opt/conky/Pkgfile

26 lines
727 B
Plaintext
Raw Normal View History

2008-08-15 10:42:19 +02:00
# Description: Light-weight system monitor
# URL: https://github.com/brndnmtthws/conky
2011-02-02 13:44:37 +01:00
# 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
2020-07-30 12:04:00 +02:00
version=1.11.6
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() {
2020-07-30 12:04:00 +02:00
cmake -S $name-$version -B build \
-D RELEASE=ON \
-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
rm -r $PKG/usr/share/doc
2006-02-23 16:26:10 +01:00
}