[arch-commits] Commit in openmw/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Jun 15 00:15:42 UTC 2020


    Date: Monday, June 15, 2020 @ 00:15:41
  Author: svenstaro
Revision: 644752

upgpkg: openmw 0.46.0-1

Modified:
  openmw/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-15 00:12:44 UTC (rev 644751)
+++ PKGBUILD	2020-06-15 00:15:41 UTC (rev 644752)
@@ -1,11 +1,8 @@
 # Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 # Contributor: Sandy Carter <bwrsandman at gmail.com>
 
-# upstream says not to use the current stable release (0.45.0)
-# https://gitlab.com/OpenMW/openmw/issues/5307#note_299351025
 pkgname=openmw
-pkgver=0.45.0+git2
-_commit=d8e1a6b
+pkgver=0.46.0
 pkgrel=1
 pkgdesc="Open-source engine reimplementation for the role-playing game Morrowind"
 arch=('x86_64')
@@ -13,26 +10,23 @@
 license=('GPL3' 'MIT' 'custom')
 depends=('openal' 'openscenegraph' 'mygui' 'bullet' 'qt5-base' 'ffmpeg' 'sdl2' 'unshield' 'libxt')
 makedepends=('cmake' 'boost' 'doxygen' 'ninja' 'git')
-source=("git+https://github.com/OpenMW/openmw.git#commit=$_pkgver")
+source=("git+https://github.com/OpenMW/openmw.git#tag=openmw-$pkgver")
 sha512sums=('SKIP')
 
-prepare() {
-  mkdir openmw/build
-}
-
 build() {
-  cd openmw/build
-  cmake .. \
+  cd openmw
+  cmake . \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DDESIRED_QT_VERSION=5 \
-    -GNinja
-  ninja
+    -GNinja \
+    -Bbuild
+  ninja -C build
 }
 
 package() {
-  cd openmw/build
-  DESTDIR="$pkgdir" ninja install
+  cd openmw
+  DESTDIR="$pkgdir" ninja -C build install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list