Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Maintainer: John Gleezowood <psyrccio@gmail.com>
- #Contributor: John Gleezowood <psyrccio@gmail.com>
- pkgname=mandelbulber2-git
- pkgver=2.12.alpha4.r1.g04b8cf55
- pkgrel=1
- pkgdesc="3D application designed to render 3D fractals such as the Mandelbulb, Mandelbox, BulbBox, JuliaBulb, Menger Sponge, and Iterated Function Systems. Git version."
- arch=('i686' 'x86_64')
- url="https://github.com/buddhi1980/mandelbulber2"
- license=('GPL3')
- depends=('ocl-icd' 'openexr' 'lzo' 'qt5-base' 'qt5-multimedia' 'libjpeg' 'libtiff' 'libpng' 'gsl')
- makedepends=('opencl-headers' 'qt5-tools' 'cmake' 'extra-cmake-modules' 'git')
- provides=($pkgname%-git)
- conflicts=($pkgname%-git)
- source=("${pkgname}::git+https://github.com/buddhi1980/mandelbulber2")
- md5sums=('SKIP')
- pkgver() {
- cd ${srcdir}/${pkgname}
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
- }
- build()
- {
- cd ${srcdir}/${pkgname}/${pkgname%-git}/cmake
- cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr/bin .
- make
- }
- package()
- {
- cd ${srcdir}/${pkgname}/${pkgname%-git}/cmake
- make install
- cp -Lr "${srcdir}/${pkgname}/${pkgname%-git}/deploy/share/" "$pkgdir/usr/share/"
- install -D -m644 "${srcdir}/${pkgname}/${pkgname%-git}/deploy/linux/mandelbulber2.desktop" "${pkgdir}/usr/share/applications/${pkgname%-git}.desktop"
- install -D -m644 "${srcdir}/${pkgname}/${pkgname%-git}/deploy/share/mandelbulber2/icons/mandelbulber.png" "${pkgdir}/usr/share/icons/mandelbulber.png"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement