blob: f81d12c51cf2c37938d1062ba2ea93efe658a99a (
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
|
pkgname=orbiter2016-git
_pkgname=orbiter
pkgver=1.0
pkgrel=1
pkgdesc="Orbiter Space Flight Simulator"
arch=('x86_64')
url="http://orbit.medphys.ucl.ac.uk/index.html"
license=('MIT')
conflicts=()
depends=()
makedepends=('git' 'cmake' 'glfw-x11' 'openal' 'libsndfile' 'glm')
source=(git+https://github.com/TheGondos/orbiter.git#branch=linux)
sha256sums=('SKIP')
build() {
cd "$srcdir/$_pkgname"
git submodule update --init --recursive
rm -rf build
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}
package () {
cd "$srcdir/$_pkgname/build"
make DESTDIR="$pkgdir" install
}
|