milis/talimatname/genel/apvlv/talimat

27 lines
723 B
Plaintext
Raw Normal View History

# Description: apvlv, vim benzeri bir PDF/DJVU/UMD/TXT görüntüleyicidir.
2016-02-24 01:27:23 +01:00
# URL: http://github.com/naihe2010/apvlv
2017-01-30 23:55:06 +01:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: 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)
build(){
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
}