blob: 920db706a89f3cfd37cd686e715f0cd1f6592bc1 (
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
|
# $Id:
# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor (Arch): Sandy Carter <bwrsandman@gmail.com>
# Maintainer: André Silva <emulatorman@hyperbola.info>
pkgname=openmw
pkgver=0.43.0
pkgrel=2.parabola1
pkgdesc="A libe engine reimplementation for the role-playing game Morrowind, without without wizard installation support to install nonfree assets from Morrowind to run Morrowind"
arch=('x86_64' 'i686' 'armv7h')
url="http://www.openmw.org"
license=('GPL3' 'MIT' 'custom')
depends=('openal' 'openscenegraph' 'mygui' 'bullet' 'qt5-base' 'ffmpeg' 'sdl2' 'unshield' 'libxt')
makedepends=('cmake' 'boost' 'doxygen' 'ninja')
source=("https://github.com/OpenMW/openmw/archive/openmw-${pkgver}.tar.gz")
sha512sums=('e902dd2274c05838bb1171f07d7a673fc7b85d1290a9e01c8ab89f1c279bd236332ecdc0f2b7944ec7209a0e6022ff472639b5724bf26904e3a2d338c7be401a')
build() {
mkdir -p build
cd build
cmake "../$pkgname-$pkgname-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DDESIRED_QT_VERSION=5 \
-DBUILD_ESSIMPORTER=OFF \
-DBUILD_WIZARD=OFF \
-GNinja
ninja
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
# vim: ts=2 sw=2 et:
|