talimat 736 B

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