talimat 928 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Tanım: Kalıp dosyalarunu USB belleğe yaz
  2. # URL: https://github.com/KaOSx/isowriter
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: qt5
  5. # Grup: sistem
  6. isim=isowriter
  7. surum=1.1.3
  8. devir=2
  9. kaynak=()
  10. derle() {
  11. git_indir https://github.com/KaOSx/isowriter $isim
  12. cd $SRC/$isim
  13. qmake-qt5 ImageWriter.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
  14. make
  15. mkdir -p $PKG/usr/share/applications
  16. # Başlatıcı
  17. cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
  18. [Desktop Entry]
  19. Type=Application
  20. Categories=System;Utility;Archiving;
  21. X-KDE-RootOnly=true
  22. Exec=sudo IsoWriter
  23. Icon=/usr/share/icons/usb_blue.png
  24. Name=ISO Writer
  25. Comment=Tool for creating bootable installation USB flash drives
  26. Comment[tr]=Kalıp dosyalarunu USB belleğe yaz
  27. GenericName=USB key writer
  28. Version=1.0
  29. EOF
  30. mkdir -p $PKG/usr/bin
  31. cp IsoWriter $PKG/usr/bin/
  32. mkdir -p $PKG/usr/share/icons
  33. cp res/usb_blue.png $PKG/usr/share/icons/
  34. }