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
|
|
|
|
|
|
|
|
|
name=jd-gui
|
|
|
|
|
version=1.4.0
|
|
|
|
|
release=1
|
|
|
|
|
source=(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)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd "$SRC"
|
|
|
|
|
install -Dm644 "$name-$version.jar" "$PKG/usr/share/java/$name/$name.jar"
|
|
|
|
|
install -d "$PKG/usr/bin"
|
|
|
|
|
echo -e "#!/bin/sh\nexec java -jar /usr/share/java/$name/$name.jar" '"$@"' > "$PKG/usr/bin/$name"
|
|
|
|
|
chmod 755 "$PKG/usr/bin/$name"
|
|
|
|
|
install -Dm644 jd-gui.desktop "$PKG/usr/share/applications/$name.desktop"
|
|
|
|
|
install -Dm644 jd_icon_128.png "$PKG/usr/share/pixmaps/$name.png"
|
|
|
|
|
}
|