milis/talimatname/genel/j/jd-gui/talimat

22 lines
766 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: java .class dosyalarının kaynak kodunu gösteren uygulama
# URL: http://jd.benow.ca/
# Paketçi: milisarge
# Gerekler: jre
isim=jd-gui
surum=1.4.0
devir=1
kaynak=(https://github.com/java-decompiler/jd-gui/releases/download/v1.4.0/jd-gui-1.4.0.jar
https://github.com/java-decompiler/jd-gui/raw/v1.4.0/src/linux/resources/jd_icon_128.png
jd-gui.desktop)
derle() {
cd "$SRC"
install -Dm644 "$isim-$surum.jar" "$PKG/usr/share/java/$isim/$isim.jar"
install -d "$PKG/usr/bin"
echo -e "#!/bin/sh\nexec java -jar /usr/share/java/$isim/$isim.jar" '"$@"' > "$PKG/usr/bin/$isim"
chmod 755 "$PKG/usr/bin/$isim"
install -Dm644 jd-gui.desktop "$PKG/usr/share/applications/$isim.desktop"
install -Dm644 jd_icon_128.png "$PKG/usr/share/pixmaps/$isim.png"
}