2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: java .class dosyalarının kaynak kodunu gösteren uygulama
|
|
|
|
|
# URL: http://jd.benow.ca/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: jre
|
2018-08-08 14:24:17 +02:00
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +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
|
|
|
|
|
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"
|
|
|
|
|
}
|