summaryrefslogtreecommitdiff
path: root/community/openmw/PKGBUILD
blob: ebac4c7ea5a3d2d64a8236ad5212288fadd64b05 (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
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Sandy Carter <bwrsandman@gmail.com>

pkgname=openmw
pkgver=0.28.0
pkgrel=1
pkgdesc="An open-source engine reimplementation for the role-playing game Morrowind"
arch=('i686' 'x86_64')
url="http://www.openmw.org"
license=('GPL3' 'MIT' 'custom')
depends=('openal' 'ogre' 'mygui' 'bullet' 'qt4' 'ffmpeg' 'sdl2' 'unshield')
makedepends=('cmake' 'boost')
source=("https://github.com/zinnschlag/openmw/archive/${pkgname}-${pkgver}.tar.gz")
sha1sums=('2686b0a588571b9196e691b0ac484c59d8c49bce')

build() {
  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
  cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: