blob: 7f20d33ded95ba63abd0b9f59a531fabefb91f35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Description: Light-weight system monitor
# URL: http://conky.sourceforge.net/
# Maintainer: Erich Eckner, crux at eckner dot net
# Packager: Juergen Daubert, jue at crux dot nu
# Depends on: curl cmake lua imlib2 libxml2 xorg-libxdamage xorg-libxft xorg-libxinerama libircclient
name=conky
version=1.12.2
release=1
source=(https://github.com/brndnmtthws/conky/archive/v$version/$name-$version.tar.gz
conky.1.gz
MAX_SP.patch)
build() {
cd $name-$version
patch -p1 < $SRC/MAX_SP.patch
cmake . \
-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_CURL=ON \
-D BUILD_RSS=ON
make
make DESTDIR=$PKG install
install -D $SRC/conky.1.gz $PKG/usr/share/man/man1/conky.1.gz
install -D data/conky.conf $PKG/usr/etc/conky.conf
rm -r $PKG/usr/share/doc
}
|