blob: 385fcf42abeee840d5977625b2db07bbd17568d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Author: Madotsuki <madotsuki@national.shitposting.agency>
pkgname=mandelbulber2-git
_pkgname=mandelbulber2
pkgver=20150804
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=('any')
url="https://github.com/buddhi1980/mandelbulber2"
license=('GPL3')
depends=('qt5-tools' 'libjpeg-turbo' 'libpng12' 'gsl' 'openmpi')
makedepends=('git')
provides=($_pkgname)
conflicts=($_pkgname)
source=("${_pkgname}::git+https://github.com/buddhi1980/mandelbulber2")
md5sums=('SKIP')
pkgver()
{
cd $_pkgname
git log -1 --format="%cd" --date=short | sed "s|-||g"
}
build()
{
cd $_pkgname/$_pkgname/Release
qmake-qt5 mandelbulber.pro
make PREFIX=/usr
}
package()
{
cd "$srcdir/$_pkgname"
install -m755 -d "${pkgdir}/usr/bin"
install -D -m644 "${srcdir}/${_pkgname}/${_pkgname}/deploy/linux/mandelbulber2.desktop" "${pkgdir}/usr/share/applications/mandelbulber2.desktop"
install -m755 -d "${pkgdir}/usr/share/${_pkgname}"
install -m755 -d "${pkgdir}/usr/share/applications"
install -m755 -d "${pkgdir}/usr/share/icons"
cp -ra "${srcdir}/${_pkgname}/${_pkgname}/qt" "$pkgdir/usr/share/${_pkgname}/qt"
install -m755 "${srcdir}/${_pkgname}/${_pkgname}/Release/mandelbulber2" "${pkgdir}/usr/bin/"
}
|