SHARE
TWEET

Untitled

a guest Feb 1st, 2011 71 Never
  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. }
RAW Paste Data
Top