conky.guncellendi

This commit is contained in:
milisbir 2017-10-11 00:07:30 +03:00
parent 1fd6949ab3
commit 63dcadabd3
1 changed files with 24 additions and 17 deletions

View File

@ -1,25 +1,32 @@
# Description: X Pencere Sistemi icin hafif bir sistem monitoru # Description: X Pencere Sistemi icin hafif bir sistem monitoru
# URL: http://conky.sourceforge.net # URL: http://conky.sourceforge.net
# Packager: dei # Packager: milisarge
# Depends on: wireless-tools glib lua tolua++ cairo curl imlib2 xorg-libxdamage xorg-libxft # Depends on: wireless-tools glib lua cairo imlib2 xorg-libxdamage xorg-libxft libxml2 docbook2x docbook-xml xorg-libxinerama
name=conky name=conky
version=1.9.0 version=1.10.6
release=1 release=1
source=(http://freefr.dl.sourceforge.net/sourceforge/conky/$name-$version.tar.gz) source=(https://github.com/brndnmtthws/conky/archive/v$version.tar.gz::$name-$version.tar.gz)
build() { build() {
cd $name-$version cd $name-$version
CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" LUA_LIBS="-llua5.1" LUA_CFLAGS="-I/usr/include/lua5.1" \ [ ! -f /usr/lib/pkgconfig/ncurses.pc ] && ln -s /usr/lib/pkgconfig/ncursesw.pc /usr/lib/pkgconfig/ncurses.pc
./configure --prefix=/usr \ cmake \
--sysconfdir=/etc \ -D CMAKE_BUILD_TYPE=Release \
--enable-wlan \ -D MAINTAINER_MODE=ON \
--enable-rss \ -D BUILD_CURL=ON \
--enable-ibm \ -D BUILD_XDBE=ON \
--enable-imlib2 \ -D BUILD_IMLIB2=ON \
--enable-lua \ -D BUILD_RSS=ON \
--enable-lua-cairo \ -D BUILD_WEATHER_METAR=ON \
--enable-lua-imlib2 -D BUILD_WEATHER_XOAP=ON \
make -D BUILD_WLAN=ON \
make DESTDIR=$PKG install -D CMAKE_INSTALL_PREFIX=/usr \
.
make
make DESTDIR=$PKG install
install -Dm644 COPYING "${PKG}/usr/share/licenses/${name}/LICENSE"
install -Dm644 extras/vim/syntax/conkyrc.vim "${PKG}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
install -Dm644 extras/vim/ftdetect/conkyrc.vim "${PKG}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
rm -rf /usr/lib/pkgconfig/ncurses.pc
} }