summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormadotsuki2015-08-03 23:31:07 -0500
committermadotsuki2015-08-03 23:31:07 -0500
commitf4a68a7797aae91c65d96d6a94ed3144eb483915 (patch)
tree792f361b62566a6c2301bbc493394ea2696263a3
downloadaur-f4a68a7797aae91c65d96d6a94ed3144eb483915.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD43
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..076eb6b0477
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = mandelbulber-opencl
+ pkgdesc = 3D application designed to render 3D fractals such as the Mandelbulb, Mandelbox, BulbBox, JuliaBulb, Menger Sponge, and Iterated Function Systems.
+ pkgver = 1.21
+ pkgrel = 2
+ url = http://mandelbulber.com/
+ arch = any
+ license = GPL3
+ depends = libjpeg-turbo
+ depends = ocl-icd
+ depends = gtk2
+ depends = oclp
+ provides = mandelbulber
+ conflicts = mandlebulber
+ source = mandelbulber-opencl::http://iweb.dl.sourceforge.net/project/mandelbulber/mandelbulber-opencl-1.21-2.orig.tar.gz
+ md5sums = d4dcb855aab3a5afe139dfcafb14ad72
+
+pkgname = mandelbulber-opencl
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d9847e5d30f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Author: Madotsuki <madotsuki@national.shitposting.agency>
+
+pkgname=mandelbulber-opencl
+pkgver=1.21
+pkgrel=2
+pkgdesc="3D application designed to render 3D fractals such as the Mandelbulb, Mandelbox, BulbBox, JuliaBulb, Menger Sponge, and Iterated Function Systems."
+arch=('any')
+url="http://mandelbulber.com/"
+license=('GPL3')
+depends=('libjpeg-turbo' 'ocl-icd' 'gtk2' 'oclp')
+provides=('mandelbulber')
+conflicts=('mandlebulber')
+source=("${pkgname}::http://iweb.dl.sourceforge.net/project/mandelbulber/${pkgname}-${pkgver}-${pkgrel}.orig.tar.gz")
+md5sums=('d4dcb855aab3a5afe139dfcafb14ad72')
+
+build()
+{
+ cd ${pkgname}-${pkgver}-${pkgrel}.orig/makefiles
+ make PREFIX=/usr all
+}
+
+package()
+{
+ install -m755 -d "${pkgdir}/usr/bin"
+ install -D -m644 "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/mandelbulber-opencl.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+ install -m755 -d "${pkgdir}/usr/share/${pkgname}"
+ install -m755 -d "${pkgdir}/usr/share/cl"
+ install -m755 -d "${pkgdir}/usr/share/exampleKeyframes"
+ install -m755 -d "${pkgdir}/usr/share/exampleOCLformulas"
+ install -m755 -d "${pkgdir}/usr/share/examples"
+ install -m755 -d "${pkgdir}/usr/share/icons"
+ install -m755 -d "${pkgdir}/usr/share/textures"
+
+ cp -ra "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/usr/share/cl" "${pkgdir}/usr/share/cl"
+ cp -ra "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/usr/share/exampleKeyframes" "${pkgdir}/usr/share/exampleKeyframes"
+ cp -ra "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/usr/share/exampleOCLformulas" "${pkgdir}/usr/share/exampleOCLformulas"
+ cp -ra "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/usr/share/examples" "${pkgdir}/usr/share/examples"
+ cp -ra "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/usr/share/icons" "${pkgdir}/usr/share/icons"
+ cp -ra "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/usr/share/textures" "${pkgdir}/usr/share/textures"
+ install -m755 "${srcdir}/${pkgname}-${pkgver}-${pkgrel}.orig/mandelbulber-opencl" "${pkgdir}/usr/bin/"
+}
+