milis/talimatname/genel/a/apvlv/talimat

27 lines
736 B
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: apvlv, vim benzeri bir PDF/DJVU/UMD/TXT görüntüleyicidir.
# URL: http://github.com/naihe2010/apvlv
# Paketçi: milisarge
# Gerekler: cmake webkitgtk2 djvulibre poppler-glib gtk2
# Grup: ofis
isim=apvlv
surum=0.1.f7f7b9c
devir=2
kaynak=(
https://github.com/downloads/naihe2010/apvlv/$isim-$surum-Source.tar.gz
$isim.desktop)
derle(){
cd $isim-$surum-Source
mkdir -p build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
-DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes \
-DAPVLV_WITH_UMD=no ..
make
make DESTDIR=$PKG install
# desktop integration
install -Dm644 $SRC/$isim.desktop \
$PKG/usr/share/applications/$isim.desktop
}