talimat 719 B

12345678910111213141516171819202122232425
  1. # Tanım: Chm dosya gösterici
  2. # URL: http://kchmviewer.sourceforge.net/
  3. # Paketçi: milisarge
  4. # Gerekler: chmlib libzip qt5-webkit
  5. # Grup: ofis
  6. isim=kchmviewer
  7. surum=7.7
  8. devir=1
  9. kaynak=(http://downloads.sourceforge.net/kchmviewer/kchmviewer-7.7.tar.gz
  10. kchmviewer-7.7-underlinking.patch
  11. fix-qt5-build.patch)
  12. derle() {
  13. cd $isim-$surum
  14. patch -Np1 -i "${SRC}"/$isim-$surum-underlinking.patch
  15. patch -Np1 -i "${SRC}"/fix-qt5-build.patch
  16. qmake-qt5 PREFIX=/usr
  17. make
  18. make DESTDIR="${PKG}" install
  19. install -Dm755 bin/$isim "${PKG}"/usr/bin/$isim
  20. install -Dm644 packages/$isim.png "${PKG}"/usr/share/pixmaps/$isim.png
  21. install -Dm644 packages/$isim.desktop "${PKG}"/usr/share/applications/$isim.desktop
  22. }