talimat 781 B

1234567891011121314151617181920212223
  1. # Tanım: java .class dosyalarının kaynak kodunu gösteren uygulama
  2. # URL: http://jd.benow.ca/
  3. # Paketçi: milisarge
  4. # Gerekler: jre
  5. # Grup: sistem
  6. isim=jd-gui
  7. surum=1.4.0
  8. devir=1
  9. kaynak=(https://github.com/java-decompiler/jd-gui/releases/download/v1.4.0/jd-gui-1.4.0.jar
  10. https://github.com/java-decompiler/jd-gui/raw/v1.4.0/src/linux/resources/jd_icon_128.png
  11. jd-gui.desktop)
  12. derle() {
  13. cd "$SRC"
  14. install -Dm644 "$isim-$surum.jar" "$PKG/usr/share/java/$isim/$isim.jar"
  15. install -d "$PKG/usr/bin"
  16. echo -e "#!/bin/sh\nexec java -jar /usr/share/java/$isim/$isim.jar" '"$@"' > "$PKG/usr/bin/$isim"
  17. chmod 755 "$PKG/usr/bin/$isim"
  18. install -Dm644 jd-gui.desktop "$PKG/usr/share/applications/$isim.desktop"
  19. install -Dm644 jd_icon_128.png "$PKG/usr/share/pixmaps/$isim.png"
  20. }