SHARE
TWEET

Untitled

a guest Dec 16th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Maintainer: Yan Burdonsky <psyrccio@gmail.com>
  2. #Contributor: Yan Burdonsky <psyrccio@gmail.com>
  3. pkgname=jwildfire
  4. pkgver=4.00
  5. pkgrel=1
  6. pkgdesc="Fractal flame image and animation processor written in Java"
  7. arch=('any')
  8. url="http://www.andreas-maschke.com"
  9. license=('GPL2')
  10. depends=('java-environment' 'bash')
  11. #makedepends=('git' 'qt5-base')
  12. provides=('jwildfire')
  13. conflicts=('jwildfire')
  14.  
  15. source=("http://www.andreas-maschke.de/java/j-wildfire-4.00.zip" "https://raw.githubusercontent.com/thargor6/JWildfire/master/Delphi/jwildfire_icon.png")
  16. sha256sums=('71c63d3e8527d561dbf9aba3f4d151792f90f10e96bb23e0e0eb82ed96d9f2be' 'c4b30c591d3f00ca163f8b48da7980e0a6f327552aa7e03828d2c5b3f01c66e8')
  17.  
  18. build() {
  19.   cd "$srcdir"
  20.   rm -rf ./j-wildfire-4.00.zip
  21.   rm -rf ./*.exe
  22.   rm -rf ./start_mac.command
  23.   echo "[Desktop Entry]" > ./jwildfire.desktop
  24.   echo "Type=Application" >> ./jwildfire.desktop
  25.   echo "Version=1.0" >> ./jwildfire.desktop
  26.   echo "Name=JWildFire" >> ./jwildfire.desktop
  27.   echo "Comment=Fractal flame image and animation processor written in Java" >> ./jwildfire.desktop
  28.   echo "Icon=jwildfire" >> ./jwildfire.desktop
  29.   echo "X-GNOME-FullName=JWildFire fractals processor" >> ./jwildfire.desktop
  30.   echo "Exec=jwildfire" >> ./jwildfire.desktop
  31.   echo "Terminal=false" >> ./jwildfire.desktop
  32.   echo "MimeType=image/*;" >> ./jwildfire.desktop
  33.   echo "Categories=Graphics;Science;ImageProcessing;" >> ./jwildfire.desktop
  34.   echo "StartupNotify=true" >> ./jwildfire.desktop
  35.   echo "StartupWMClass=JWildFire-main" >> ./jwildfire.desktop
  36.   echo "#!/bin/sh" > ./jwildfire
  37.   echo "cd /opt/jwildfire" >> ./jwildfire
  38.   echo "sh ./start_linux.sh" >> ./jwildfire
  39.   chmod +x ./jwildfire
  40. }
  41.  
  42. package() {
  43.   cd "$srcdir"
  44.   mkdir "$pkgdir/opt"
  45.   mkdir "$pkgdir/opt/jwildfire"
  46.   cp -R "$srcdir"/* "$pkgdir"/opt/jwildfire/
  47.   mkdir "$pkgdir/usr"
  48.   mkdir "$pkgdir/usr/share"
  49.   mkdir "$pkgdir/usr/bin"
  50.   mkdir "$pkgdir/usr/share/pixmaps"
  51.   mkdir "$pkgdir/usr/share/applications"
  52.   mv "$srcdir"/jwildfire.desktop "$pkgdir/usr/share/applications/jwildfire.desktop"
  53.   mv "$srcdir"/jwildfire "$pkgdir/usr/bin/jwildfire"
  54.   cp "$srcdir"/jwildfire_icon.png "$pkgdir/usr/share/pixmaps/jwildfire.png"
  55.   rm -rf "$pkgdir/opt/jwildfire/jwildfire_icon.png"
  56. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top