talimat 723 B

123456789101112131415161718192021222324252627
  1. # Description: apvlv, vim benzeri bir PDF/DJVU/UMD/TXT görüntüleyicidir.
  2. # URL: http://github.com/naihe2010/apvlv
  3. # Packager: milisarge
  4. # Depends on: cmake webkitgtk2 djvulibre poppler-glib gtk2
  5. name=apvlv
  6. version=0.1.f7f7b9c
  7. release=2
  8. source=(
  9. https://github.com/downloads/naihe2010/apvlv/$name-$version-Source.tar.gz
  10. $name.desktop)
  11. build(){
  12. cd $name-$version-Source
  13. mkdir -p build
  14. cd build
  15. cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
  16. -DAPVLV_WITH_DJVU=yes -DAPVLV_WITH_TXT=yes \
  17. -DAPVLV_WITH_UMD=no ..
  18. make
  19. make DESTDIR=$PKG install
  20. # desktop integration
  21. install -Dm644 $SRC/$name.desktop \
  22. $PKG/usr/share/applications/$name.desktop
  23. }