Date: Sunday, August 6, 2017 @ 11:51:54
  Author: svenstaro
Revision: 248992

upgpkg: openmw 0.42.0-1

Modified:
  openmw/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-06 11:33:56 UTC (rev 248991)
+++ PKGBUILD    2017-08-06 11:51:54 UTC (rev 248992)
@@ -1,29 +1,31 @@
+# $Id:
 # Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com>
 # Contributor: Sandy Carter <bwrsand...@gmail.com>
-
 pkgname=openmw
-pkgver=0.41.0
-pkgrel=4
-pkgdesc="An open-source engine reimplementation for the role-playing game 
Morrowind"
-arch=('i686' 'x86_64')
+pkgver=0.42.0
+pkgrel=1
+pkgdesc="Open-source engine reimplementation for the role-playing game 
Morrowind"
+arch=('x86_64' 'i686')
 url="http://www.openmw.org";
 license=('GPL3' 'MIT' 'custom')
 depends=('openal' 'openscenegraph' 'mygui' 'bullet' 'qt5-base' 'ffmpeg' 'sdl2' 
'unshield' 'libxt')
-makedepends=('cmake' 'boost' 'doxygen')
+makedepends=('cmake' 'boost' 'doxygen' 'ninja')
 source=("https://github.com/OpenMW/openmw/archive/openmw-${pkgver}.tar.gz";)
-sha512sums=('a47a7af3c6d3252e22206eb776069ef87f698acbe133b0e0294db307486c28cb300085fcf45b436af541dbb22f6d45f2ee3998e50a1c711f667f8a738813255d')
+sha512sums=('f638e804e03e965db8e19cb37b3be67804202c1e43b0abf2730e0be104093edc31fc3656f90c570980b66ece4f5c889b44f0f59789e865327d221714a9ed65f3')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DDESIRED_QT_VERSION=5
-  make
+  mkdir -p build
+  cd build
+  cmake "../$pkgname-$pkgname-$pkgver" \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DDESIRED_QT_VERSION=5 \
+    -GNinja
+  ninja
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
 }
 
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:

Reply via email to