summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-19 00:10:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-19 00:10:50 -0300
commite988bf4158eee605bf4bcf0bf574097c322583de (patch)
treec207e25abd07de6c89c7f089ca24f1a74de6acdd /libre
parentece49e6410f2105e4e78da30d34563e68abbb715 (diff)
downloadabslibre-e988bf4158eee605bf4bcf0bf574097c322583de.tar.gz
abslibre-e988bf4158eee605bf4bcf0bf574097c322583de.tar.bz2
abslibre-e988bf4158eee605bf4bcf0bf574097c322583de.zip
openmw: add new package to [libre] - Freedom issue #1096 -> https://labs.parabola.nu/issues/1096
Diffstat (limited to 'libre')
-rw-r--r--libre/openmw/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/libre/openmw/PKGBUILD b/libre/openmw/PKGBUILD
new file mode 100644
index 000000000..302e00be7
--- /dev/null
+++ b/libre/openmw/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor (Arch): Sandy Carter <bwrsandman@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=openmw
+pkgver=0.40.0
+pkgrel=2.parabola1
+pkgdesc="A libre engine reimplementation for Morrowind-based role-playing games, without nonfree Morrowind wizard installation"
+arch=('i686' 'x86_64')
+url="http://www.openmw.org"
+license=('GPL3' 'MIT' 'custom')
+depends=('openal' 'openscenegraph' 'mygui' 'bullet' 'qt5-base' 'ffmpeg' 'sdl2' 'unshield')
+makedepends=('cmake' 'boost' 'doxygen')
+source=("https://github.com/OpenMW/openmw/archive/openmw-${pkgver}.tar.gz")
+sha1sums=('a69aa56374c4e991950fa1b7bfec92ef790cbbed')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DDESIRED_QT_VERSION=5 \
+ -DBUILD_ESSIMPORTER=OFF \
+ -DBUILD_WIZARD=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: