summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 15 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11421243e1a..9a676a2ac95 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mudlet
pkgdesc = A modern MUD client with a graphical user inteface and built in Lua scripting
- pkgver = 4.3.0
+ pkgver = 4.4.0
pkgrel = 1
url = http://www.mudlet.org
arch = i686
@@ -27,8 +27,8 @@ pkgbase = mudlet
conflicts = mudlet-dev
conflicts = mudlet-git
conflicts = mudlet-deb
- source = https://www.mudlet.org/wp-content/files/Mudlet-4.3.0.tar.xz
- sha256sums = bcc504c9bb4711b7a78d1c15822a43cd2292e75fd1c055ca26245398d292355a
+ source = https://www.mudlet.org/wp-content/files/Mudlet-4.4.0.tar.xz
+ sha256sums = 4496d1ab8cdbec8bebf4932b7cbd64df5318d01e591ca4cb1d65cfbfd2401c70
pkgname = mudlet
diff --git a/PKGBUILD b/PKGBUILD
index 2f229c53f70..520b10889ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# Contributor: Kevin Kyzer <kev@k3v.in>
# Contributor: Xabre <xabre @archlinux.info>
pkgname=mudlet
-pkgver=4.3.0
+pkgver=4.4.0
pkgrel=1
pkgdesc="A modern MUD client with a graphical user inteface and built in Lua scripting"
arch=('i686' 'x86_64')
@@ -19,16 +19,25 @@ conflicts=('mudlet-dev' 'mudlet-git' 'mudlet-deb')
#source=("http://www.mudlet.org/download/Mudlet-${pkgver}.tar.xz")
##using alternate link
source=("https://www.mudlet.org/wp-content/files/Mudlet-${pkgver}.tar.xz")
-sha256sums=('bcc504c9bb4711b7a78d1c15822a43cd2292e75fd1c055ca26245398d292355a')
+sha256sums=('4496d1ab8cdbec8bebf4932b7cbd64df5318d01e591ca4cb1d65cfbfd2401c70')
prepare() {
cd "$srcdir/src"
sed -i 's,QString path = "../src/mudlet-lua/lua/LuaGlobal.lua";,QString path = "/usr/share/mudlet/lua/LuaGlobal.lua";,' TLuaInterpreter.cpp
sed -i 's;"mudlet.app/Contents/Resources/mudlet-lua/lua/";"mudlet.app/Contents/Resources/mudlet-lua/lua/", "/usr/share/mudlet/lua/";' mudlet-lua/lua/LuaGlobal.lua
-}
+ sed -i '29 a #include <QFileInfo>' TMedia.h
+ sed -i '29 a #include <QJsonDocument>' TMedia.h
+ sed -i '29 a #include <QJsonObject>' TMedia.h
+ sed -i '29 a #include <QDir>' TMedia.h
+ sed -i '29 a #include <QStandardPaths>' TMedia.h
+ sed -i '29 a #include <QNetworkAccessManager>' TMedia.h
+ sed -i '29 a #include <QNetworkDiskCache>' TMedia.h
+ }
+
build() {
cd "$srcdir/src"
+ export XDG_DATA_DIRS=/usr/share
export WITH_FONTS=NO
export WITH_UPDATER=NO
qmake-qt5 PREFIX=/usr