talimat 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Tanım: Güçlü ve kullanımı kolay ekran görüntüsü yazılımı
  2. # URL: https://github.com/lupoDharkael/flameshot
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: qt5
  5. # Grup: tasarım
  6. isim=flameshot
  7. surum=0.5.1
  8. devir=1
  9. kaynak=(https://github.com/lupoDharkael/flameshot/archive/v$surum.tar.gz::$isim-$surum.tar.gz
  10. flame-Internationalization_tr.ts
  11. flameshot-init.desktop
  12. flameshot.desktop)
  13. derle() {
  14. cd $isim-$surum
  15. cp ../*.desktop ./docs/desktopEntry/package/
  16. qmake-qt5
  17. make
  18. install -Dm755 "./flameshot" "${PKG}/usr/bin/flameshot"
  19. #install -Dm644 "./dbus/package/org.dharkael.Flameshot.service" "${PKG}/usr/share/dbus-1/services/org.dharkael.Flameshot.service"
  20. install -Dm644 "./dbus/org.dharkael.Flameshot.xml" "${PKG}/usr/share/dbus-1/interfaces/org.dharkael.Flameshot.xml"
  21. install -Dm644 "./docs/desktopEntry/package/flameshot.desktop" "${PKG}/usr/share/applications/flameshot.desktop"
  22. install -Dm644 "./docs/desktopEntry/package/flameshot-init.desktop" "${PKG}/usr/share/applications/flameshot-init.desktop"
  23. install -Dm644 "./img/flameshot.png" "${PKG}/usr/share/icons/flameshot.png"
  24. mkdir -p ${PKG}/usr/share/flameshot/translations
  25. install -Dm644 ./translations/*.qm ${PKG}/usr/share/flameshot/translations/
  26. /usr/lib/qt5/bin/lrelease $SRC/flame-Internationalization_tr.ts -qm ${PKG}/usr/share/flameshot/translations/Internationalization_tr.qm
  27. }