Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 1st, 2011  |  syntax: None  |  size: 1.20 KB  |  hits: 69  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Wilfried Fauvel <wilfried.fauvel at gmail>
  2.  
  3. pkgname=mandelbulber
  4. pkgver=0.97
  5. pkgrel=1
  6. pkgdesc='Mandelbulber is an easy to use, handy but experimental application designed to help you render 3D Mandelbrot fractals called Mandelbulb and some other kind of 3D fractals like Mandelbox, Bulbbox, Juliabulb, Menger Sponge.'
  7. arch=('i686' 'x86_64')
  8. url='http://mandelbulber.sourceforge.net'
  9. license=('GPL')
  10. depends=('gtk2' 'libjpeg' 'libsndfile')
  11. source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}${pkgver}.tar.gz )
  12. install=mandelbulber.install
  13. md5sums=('07ad10bfac2d62f5f0838f1569e2a2e8')
  14.  
  15. build() {
  16.   cd ${srcdir}/${pkgname}${pkgver}/src/Release
  17.  
  18.   # Clean up pre-compiled binaries
  19.   make clean || return 1
  20.  
  21.   # Build
  22.   make all || return 1
  23.  
  24.   # Install
  25.   install -m755 -d "${pkgdir}/usr/share/${pkgname}"
  26.   install -m755 -d "${pkgdir}/usr/bin"
  27.   install -Dm755 "${srcdir}/${pkgname}${pkgver}/src/Release/${pkgname}" \
  28.                  "${pkgdir}/usr/bin/" || return 1
  29.  
  30.   install -m755 -d "${pkgdir}/usr/share/${pkgname}/.${pkgname}"
  31.   mv ${srcdir}/${pkgname}${pkgver}/.${pkgname} ${pkgdir}/usr/share/${pkgname}/
  32.   chmod -R 755 ${pkgdir}/usr/share/${pkgname}/.${pkgname}
  33. }