milis/talimatname/genel/c/conky/talimat

33 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: X Pencere Sistemi icin hafif bir sistem monitoru
2016-02-24 01:27:23 +01:00
# URL: http://conky.sourceforge.net
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: wireless-tools glib lua cairo imlib2 xorg-libxdamage xorg-libxft libxml2 docbook2x docbook-xml xorg-libxinerama
2016-02-24 01:27:23 +01:00
name=conky
2017-10-10 23:07:30 +02:00
version=1.10.6
2017-04-13 19:15:35 +02:00
release=1
2017-10-10 23:07:30 +02:00
source=(https://github.com/brndnmtthws/conky/archive/v$version.tar.gz::$name-$version.tar.gz)
2016-02-24 01:27:23 +01:00
build() {
2017-10-10 23:07:30 +02:00
cd $name-$version
[ ! -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/${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
2016-02-24 01:27:23 +01:00
}