milis/talimatname/genel/c/conky/talimat

33 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: X Pencere Sistemi icin hafif bir sistem monitoru
# URL: http://conky.sourceforge.net
# Paketçi: milisarge
# Gerekler: wireless-tools glib lua cairo imlib2 xorg-libxdamage xorg-libxft libxml2 docbook2x docbook-xml xorg-libxinerama
isim=conky
surum=1.10.6
devir=1
kaynak=(https://github.com/brndnmtthws/conky/archive/v$surum.tar.gz::$isim-$surum.tar.gz)
derle() {
cd $isim-$surum
[ ! -f /usr/lib/pkgconfig/ncurses.pc ] && ln -s /usr/lib/pkgconfig/ncursesw.pc /usr/lib/pkgconfig/ncurses.pc
cmake \
-D CMAKE_BUILD_TYPE=Release \
-D MAINTAINER_MODE=ON \
-D BUILD_CURL=ON \
-D BUILD_XDBE=ON \
-D BUILD_IMLIB2=ON \
-D BUILD_RSS=ON \
-D BUILD_WEATHER_METAR=ON \
-D BUILD_WEATHER_XOAP=ON \
-D BUILD_WLAN=ON \
-D CMAKE_INSTALL_PREFIX=/usr \
.
make
make DESTDIR=$PKG install
install -Dm644 COPYING "${PKG}/usr/share/licenses/${isim}/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
}