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

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Mar 5 17:38:34 UTC 2020


    Date: Thursday, March 5, 2020 @ 17:38:33
  Author: svenstaro
Revision: 590779

upgpkg: openmw 0.45.0+git1-1

Modified:
  openmw/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-05 17:01:09 UTC (rev 590778)
+++ PKGBUILD	2020-03-05 17:38:33 UTC (rev 590779)
@@ -1,24 +1,28 @@
 # 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
-pkgrel=6
+pkgver=0.45.0+git1
+_commit=bbca1f3
+pkgrel=1
 pkgdesc="Open-source engine reimplementation for the role-playing game Morrowind"
 arch=('x86_64')
 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=('b968426659457cf486f6756f7ab82cc4cb34a92923c433dd86f711e5d7097f75441ed17daa50d21f15f1847f5aed1f4c3a094a06cfd3f2e9b90aa182742c596f')
+makedepends=('cmake' 'boost' 'doxygen' 'ninja' 'git')
+source=("git+https://github.com/OpenMW/openmw.git#commit=$_pkgver")
+sha512sums=('SKIP')
 
 prepare() {
-  mkdir build
+  mkdir openmw/build
 }
 
 build() {
-  cd build
-  cmake "../$pkgname-$pkgname-$pkgver" \
+  cd openmw/build
+  cmake .. \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=Release \
     -DDESIRED_QT_VERSION=5 \
@@ -27,7 +31,8 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" ninja -C build install
+  cd openmw/build
+  DESTDIR="$pkgdir" ninja install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list