blob: 79b5cc5c2bc6e738477f4c807e66b611dd861b98 (
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
|
# Maintainer: João Figueiredo <jf dot mundox at gmail dot com> (28/05/2020)
# Contributor: Frederic Bezies < fredbezies at gmail dot com >
# Contributor: nic96
pkgname=fracplanet
pkgver=0.5.1
pkgrel=5
pkgdesc="Fractal planet and terrain generator"
url="http://sourceforge.net/projects/fracplanet/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('boost-libs' 'qt5-base' 'glu')
makedepends=('boost')
source=("http://downloads.sourceforge.net/project/fracplanet/fracplanet/$pkgver/fracplanet-$pkgver.tar.gz"
"fracplanet.png"
"fracplanet.desktop"
"make-subdivisions-param.patch"
"make-configure-file.patch")
sha256sums=('435dd07e1798f810280260d09d2ee85e870eb466411e49b859eb1bef6f336ade'
'872c4c33c1db66b6ec606ab753cc02a7459d3f0188427d12d6374103d4ecef6f'
'a4b58ebcd5110b6ff99720aa166db0e3ca7e530f744659e1784cb3f349584ff0'
'8884df0c7fe9fa5ac5296054e3ee510cd05c36b2e1b22b8c037a8a02e0141034'
'6be2c58b9f1365b91e1d958313c27b84c4782f585820cb3e61a7f5d7e822dd21')
prepare() {
cd $pkgname-$pkgver
patch -p1 < ../make-subdivisions-param.patch
patch -p1 < ../make-configure-file.patch
}
build() {
cd $srcdir/$pkgname-$pkgver
qmake-qt5 "VERSION_NUMBER=$VERSION_NUMBER" fracplanet.pro
make
}
package() {
cd $srcdir/$pkgname-$pkgver
install -Dm755 $srcdir/$pkgname-$pkgver/fracplanet $pkgdir/usr/bin/fracplanet
install -Dm644 $srcdir/fracplanet.desktop $pkgdir/usr/share/applications/fracplanet.desktop
install -Dm644 $srcdir/fracplanet.png $pkgdir/usr/share/pixmaps/fracplanet.png
}
|