[arch-commits] Commit in openmw/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jan 28 04:14:28 UTC 2020
Date: Tuesday, January 28, 2020 @ 04:14:27
Author: felixonmars
Revision: 557210
archrelease: copy trunk to community-staging-x86_64
Added:
openmw/repos/community-staging-x86_64/
openmw/repos/community-staging-x86_64/PKGBUILD
(from rev 557209, openmw/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: openmw/repos/community-staging-x86_64/PKGBUILD (from rev 557209, openmw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-01-28 04:14:27 UTC (rev 557210)
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Sandy Carter <bwrsandman at gmail.com>
+pkgname=openmw
+pkgver=0.45.0
+pkgrel=6
+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')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake "../$pkgname-$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DDESIRED_QT_VERSION=5 \
+ -GNinja
+ ninja
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list