[arch-commits] Commit in openmw/repos (2 files)

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


    Date: Thursday, March 5, 2020 @ 17:39:08
  Author: svenstaro
Revision: 590780

archrelease: copy trunk to community-staging-x86_64

Added:
  openmw/repos/community-staging-x86_64/
  openmw/repos/community-staging-x86_64/PKGBUILD
    (from rev 590779, openmw/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: openmw/repos/community-staging-x86_64/PKGBUILD (from rev 590779, openmw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-03-05 17:39:08 UTC (rev 590780)
@@ -0,0 +1,38 @@
+# 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+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' 'git')
+source=("git+https://github.com/OpenMW/openmw.git#commit=$_pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  mkdir openmw/build
+}
+
+build() {
+  cd openmw/build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DDESIRED_QT_VERSION=5 \
+    -GNinja
+  ninja
+}
+
+package() {
+  cd openmw/build
+  DESTDIR="$pkgdir" ninja install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list