diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rw-r--r-- | ffdec | 5 | ||||
-rw-r--r-- | ffdec.desktop | 10 | ||||
-rw-r--r-- | ffdec.png | bin | 0 -> 34477 bytes |
6 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..322175de4c2e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = ffdec + pkgdesc = Open source Flash SWF decompiler and editor + pkgver = 5.3.0 + pkgrel = 1 + url = http://www.free-decompiler.com/flash/ + arch = any + license = GPL3 + depends = java-runtime=8 + conflicts = jpexs-decompiler-git + source = http://www.free-decompiler.com/flash/download/ffdec_5.3.0.zip + source = ffdec + source = ffdec.desktop + source = ffdec.png + md5sums = 0a94168938bcdb34620735d3b83da154 + md5sums = 29a00ab7cb71ec337ed028493914009f + md5sums = b9da710cc2a4af62f1fa8690e0fb5553 + md5sums = c6f354af3fdfe3f45623fb3949e23f8f + +pkgname = ffdec + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..99eae0d3c8ba --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.zip +*.pkg.tar* +*.src.tar* +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7495c3b67818 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Alexandre `Zopieux` Macabies <web+aur@zopieux.com> +pkgname=ffdec +pkgver=5.3.0 +pkgrel=1 +pkgdesc="Open source Flash SWF decompiler and editor" +arch=('any') +url="http://www.free-decompiler.com/flash/" +license=('GPL3') +depends=('java-runtime=8') +conflicts=('jpexs-decompiler-git') +source=(http://www.free-decompiler.com/flash/download/${pkgname}_${pkgver}.zip + $pkgname + $pkgname.desktop + $pkgname.png) +md5sums=('0a94168938bcdb34620735d3b83da154' + '29a00ab7cb71ec337ed028493914009f' + 'b9da710cc2a4af62f1fa8690e0fb5553' + 'c6f354af3fdfe3f45623fb3949e23f8f') + +package() { + cd "$srcdir" + install -Ddm755 "${pkgdir}/usr/share/java/${pkgname}/lib" + install -Ddm755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "${pkgname}.jar" "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" + install -Dm644 "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt" + install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + cd "$srcdir/lib" + for f in *.license.txt; do + cp -d --no-preserve=ownership "$f" "${pkgdir}/usr/share/licenses/${pkgname}/$f" + done + for f in *.jar; do + cp -d --no-preserve=ownership "$f" "${pkgdir}/usr/share/java/${pkgname}/lib/$f" + done +} diff --git a/ffdec b/ffdec new file mode 100644 index 000000000000..dec62a26f467 --- /dev/null +++ b/ffdec @@ -0,0 +1,5 @@ +#!/bin/sh + +# Since version 4.1.1 onawards FFDec requires Java 8 +export PATH="/usr/lib/jvm/java-8-openjdk/jre/bin:$PATH" +exec java -Djava.net.preferIPv4Stack=true -cp '/usr/share/java/ffdec/lib' -jar '/usr/share/java/ffdec/ffdec.jar' "$@" diff --git a/ffdec.desktop b/ffdec.desktop new file mode 100644 index 000000000000..4abfe547c8cd --- /dev/null +++ b/ffdec.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=JPEXS Free Flash Decompiler +Comment=Open source Flash SWF decompiler and editor +Exec=ffdec +Icon=ffdec +Terminal=false +StartupNotify=false +Categories=Application;Development;TextEditor; diff --git a/ffdec.png b/ffdec.png Binary files differnew file mode 100644 index 000000000000..7081c49c4244 --- /dev/null +++ b/ffdec.png |