2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: 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-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: cmake webkitgtk2 djvulibre poppler-glib gtk2
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|