summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Psyriccio2016-05-25 15:54:04 +0300
committerDmitry Psyriccio2016-05-25 15:54:04 +0300
commite8dc4a30b4c92075a29be9730d26bbee0fe060d7 (patch)
tree49531356971628598c2842a4152d9010706dc4d3
downloadaur-e8dc4a30b4c92075a29be9730d26bbee0fe060d7.tar.gz
2.60r2
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD56
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dfc25b5d22b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = jwildfire
+ pkgdesc = Fractal flame image and animation processor written in Java
+ pkgver = 2.60.2
+ pkgrel = 1
+ url = http://www.andreas-maschke.com
+ arch = i686
+ arch = x86_64
+ license = GPL2.1
+ depends = java-runtime
+ provides = jwildfire
+ conflicts = jwildfire
+ source = http://www.andreas-maschke.de/java/j-wildfire-2.60r2.zip
+ source = https://raw.githubusercontent.com/thargor6/JWildfire/master/Delphi/jwildfire_icon.png
+ sha256sums = 3bcd6aa5b8fb60ae9db4fe3e97e178f39b17198e54e96099809addeedf40a794
+ sha256sums = SKIP
+
+pkgname = jwildfire
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..952bcf40e7f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,56 @@
+#Maintainer: Yan Burdonsky <psyrccio@gmail.com>
+#Contributor: Yan Burdonsky <psyrccio@gmail.com>
+pkgname=jwildfire
+pkgver=2.60.2
+pkgrel=1
+pkgdesc="Fractal flame image and animation processor written in Java"
+arch=('i686' 'x86_64')
+url="http://www.andreas-maschke.com"
+license=('GPL2.1')
+depends=('java-runtime')
+#makedepends=('git' 'qt5-base')
+provides=('jwildfire')
+conflicts=('jwildfire')
+
+source=("http://www.andreas-maschke.de/java/j-wildfire-2.60r2.zip" "https://raw.githubusercontent.com/thargor6/JWildfire/master/Delphi/jwildfire_icon.png")
+sha256sums=('3bcd6aa5b8fb60ae9db4fe3e97e178f39b17198e54e96099809addeedf40a794' 'SKIP')
+
+build() {
+ cd "$srcdir"
+ rm -rf ./j-wildfire-2.60r2.zip
+ rm -rf ./*.exe
+ rm -rf ./start_mac.command
+ echo "[Desktop Entry]" > ./jwildfire.desktop
+ echo "Type=Application" >> ./jwildfire.desktop
+ echo "Version=1.0" >> ./jwildfire.desktop
+ echo "Name=JWildFire" >> ./jwildfire.desktop
+ echo "Comment=Fractal flame image and animation processor written in Java" >> ./jwildfire.desktop
+ echo "Icon=jwildfire" >> ./jwildfire.desktop
+ echo "X-GNOME-FullName=JWildFire fractals processor" >> ./jwildfire.desktop
+ echo "Exec=jwildfire" >> ./jwildfire.desktop
+ echo "Terminal=false" >> ./jwildfire.desktop
+ echo "MimeType=image/*;" >> ./jwildfire.desktop
+ echo "Categories=Graphics;Science;ImageProcessing;" >> ./jwildfire.desktop
+ echo "StartupNotify=true" >> ./jwildfire.desktop
+ echo "StartupWMClass=JWildFire-main" >> ./jwildfire.desktop
+ echo "#!/bin/sh" > ./jwildfire
+ echo "cd /opt/jwildfire" >> ./jwildfire
+ echo "sh ./start_linux.sh" >> ./jwildfire
+ chmod +x ./jwildfire
+}
+
+package() {
+ cd "$srcdir"
+ mkdir "$pkgdir/opt"
+ mkdir "$pkgdir/opt/jwildfire"
+ cp -R "$srcdir"/* "$pkgdir"/opt/jwildfire/
+ mkdir "$pkgdir/usr"
+ mkdir "$pkgdir/usr/share"
+ mkdir "$pkgdir/usr/bin"
+ mkdir "$pkgdir/usr/share/pixmaps"
+ mkdir "$pkgdir/usr/share/applications"
+ mv "$srcdir"/jwildfire.desktop "$pkgdir/usr/share/applications/jwildfire.desktop"
+ mv "$srcdir"/jwildfire "$pkgdir/usr/bin/jwildfire"
+ cp "$srcdir"/../jwildfire_icon.png "$pkgdir/usr/share/pixmaps/jwildfire.png"
+ rm -rf "$pkgdir/opt/jwildfire/jwildfire_icon.png"
+}