blob: e30ab08b8dd1135e38a7a7ce2c095a33ea2d886e (
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
|
# Maintainer: rubenwardy <rw@rubenwardy.com>
pkgname=nodeboxeditor
_pkgname=NodeBoxEditor
pkgver=0.9.2
pkgrel=1
pkgdesc='3D Cuboid Voxel Editor for Minetest'
url='https://rubenwardy.com/NodeBoxEditor'
license=('GPL3')
arch=('i686' 'x86_64')
makedepends=('git' 'cmake')
depends=('irrlicht' 'libjpeg' 'libpng' 'mesa' 'zenity')
source=("git://github.com/rubenwardy/NodeBoxEditor.git#tag=v${pkgver}")
sha256sums=('SKIP')
install=install
prepare() {
cd "${srcdir}"
}
build() {
cd "${srcdir}/NodeBoxEditor"
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make -j3
}
package() {
cd "${srcdir}/NodeBoxEditor"
make DESTDIR="${pkgdir}" install
}
|