2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: java .class dosyalarının kaynak kodunu gösteren uygulama
|
2017-06-28 12:20:28 +02:00
|
|
|
|
# URL: http://jd.benow.ca/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: jre
|
2017-06-28 12:20:28 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
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
|
2017-06-28 12:20:28 +02:00
|
|
|
|
https://github.com/java-decompiler/jd-gui/raw/v1.4.0/src/linux/resources/jd_icon_128.png
|
|
|
|
|
jd-gui.desktop)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-28 12:20:28 +02:00
|
|
|
|
cd "$SRC"
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -Dm644 "$isim-$surum.jar" "$PKG/usr/share/java/$isim/$isim.jar"
|
2017-06-28 12:20:28 +02:00
|
|
|
|
install -d "$PKG/usr/bin"
|
2017-10-28 14:10:23 +02:00
|
|
|
|
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"
|
2017-06-28 12:20:28 +02:00
|
|
|
|
}
|