talimat 904 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Tanım: Görsel Kavram Ortamı
  2. # URL: https://github.com/VUE/VUE
  3. # Paketçi: Cihan Alkan
  4. # Gerekler: desktop-file-utils openjdk
  5. # Grup: bilim
  6. isim=vue
  7. surum=3.3.0
  8. devir=1
  9. kaynak=(https://github.com/VUE/VUE/releases/download/$surum/VUE.jar
  10. https://aur.archlinux.org/cgit/aur.git/plain/vue.png?h=vue)
  11. derle() {
  12. install -Dm755 VUE.jar $PKG/opt/$isim/VUE.jar
  13. # Bin Dosyası
  14. mkdir -pv $PKG/usr/bin &&
  15. cat > $PKG/usr/bin/vue << "EOF" &&
  16. #!/bin/sh
  17. exec java -jar /opt/vue/VUE.jar
  18. EOF
  19. chmod 755 $PKG/usr/bin/vue
  20. chmod +x $PKG/usr/bin/vue
  21. # desktop Dosyası
  22. mkdir -pv $PKG/usr/share/applications &&
  23. cat > $PKG/usr/share/applications/vue.desktop << "EOF" &&
  24. [Desktop Entry]
  25. Type=Application
  26. Encoding=UTF-8
  27. Name=VUE
  28. Comment=Görsel Kavram Ortamı
  29. Exec=vue
  30. Icon=/opt/vue/vue.png
  31. Categories=Office;
  32. Terminal=false
  33. EOF
  34. install -Dm644 vue.png?h=vue $PKG/opt/$isim/vue.png
  35. update-desktop-database -q
  36. }