milis/talimatname/genel/a/apvlv/talimat

27 lines
716 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
name=apvlv
version=0.1.f7f7b9c
release=2
source=(
https://github.com/downloads/naihe2010/apvlv/$name-$version-Source.tar.gz
$name.desktop)
derle(){
cd $name-$version-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/$name.desktop \
$PKG/usr/share/applications/$name.desktop
}