SHARE
TWEET

Art of Illusion (PKGBUILD)

a guest Dec 1st, 2013 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=aoi
  2. pkgver=3.0
  3. pkgrel=1
  4. pkgdesc="A 3D modeling and rendering studio (Art of Illusion)"
  5. arch=('any')
  6. url="http://www.artofillusion.org/"
  7. license=('GPL')
  8. depends=('java-runtime')
  9. optdepends=('jmf:  QuickTime animation support'
  10.             'jogl: OpenGL rendering support')
  11. makedepends=('gendesk')
  12. source=(http://sourceforge.net/projects/aoi/files/ArtOfIllusion/${pkgver}/aoi${pkgver//./}.zip
  13.         aoi.sh)
  14. md5sums=('c2286b1a6e390bf9b3623f8eb3d94f2a'
  15.          'b2c2de959cf1112a729da857bc15111c')
  16.  
  17. build() {
  18.   cd "$srcdir"
  19.   gendesk -f -n --pkgname "$pkgname" \
  20.     --pkgdesc "$pkgdesc" \
  21.     --name='AOI (Art of Illusion)' \
  22.     --exec='java -Xmx512m -jar /usr/share/java/aoi/ArtOfIllusion.jar'
  23. }
  24.  
  25. package() {
  26.   install -dm755 "$pkgdir/usr/share/java"
  27.   cp -r ArtOfIllusion${pkgver//./} "$pkgdir/usr/share/java/aoi"
  28.   install -Dm755 aoi.sh "$pkgdir/usr/bin/aoi"
  29.   install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
  30.   install -Dm644 "ArtOfIllusion${pkgver//./}/Icons/64x64.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
  31. }
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