summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime “pep” Buquet2018-11-21 19:50:20 +0000
committerMaxime “pep” Buquet2018-11-21 19:50:20 +0000
commit762a5bf5e38061f12ff4731dc678bc51eadad5b2 (patch)
tree79a9792f139d5994ccc6a7506fc1230d4a680111
parent07c7ac11c7579eceabd25350810e33a07d7bf4ef (diff)
downloadaur-prosody-hg.tar.gz
Update lua version to 5.2
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
2 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d1759e5122c..b4049dea17c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = prosody-hg
pkgdesc = Lightweight and extensible Jabber/XMPP server written in Lua (development build from trunk-branch)
- pkgver = r9606+.cb684a0ded2a+
+ pkgver = r9637+.b8301ba2c437+
pkgrel = 1
url = https://prosody.im/
install = prosody.install
@@ -10,6 +10,8 @@ pkgbase = prosody-hg
license = MIT
checkdepends = luacheck
checkdepends = shellcheck
+ checkdepends = lua52-posix
+ checkdepends = lua52-sec
makedepends = mercurial
depends = lua52
depends = lua52-socket
diff --git a/PKGBUILD b/PKGBUILD
index aec3eee27f7..9f5ed393c6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,16 +18,16 @@ pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua (developme
arch=('i686' 'x86_64' 'armv7h')
url="https://prosody.im/"
license=('MIT')
-depends=('lua51' 'lua51-socket' 'lua51-expat' 'lua51-filesystem' 'libidn'
+depends=('lua52' 'lua52-socket' 'lua52-expat' 'lua52-filesystem' 'libidn'
'openssl')
makedepends=('mercurial')
checkdepends=('luacheck' 'shellcheck' 'lua52-posix' 'lua52-sec')
conflicts=('prosody')
provides=('prosody')
optdepends=(
-'lua51-sec: TLS encryption support'
-'lua51-bitop: websocket support'
-'lua51-event: libevent support'
+'lua52-sec: TLS encryption support'
+'lua52-bitop: websocket support'
+'lua52-event: libevent support'
)
install=prosody.install
backup=('etc/prosody/prosody.cfg.lua')
@@ -61,11 +61,11 @@ prepare() {
build() {
cd ${pkgname}
./configure --ostype=linux --prefix=/usr --sysconfdir=/etc/prosody \
- --datadir=/var/lib/prosody --with-lua-include=/usr/include/lua5.1 \
+ --datadir=/var/lib/prosody --with-lua-include=/usr/include/lua5.2 \
--cflags="${CFLAGS} -fPIC -Wall -Wextra -D_GNU_SOURCE" \
--ldflags="${LDFLAGS} -shared" --no-example-certs \
- --runwith=lua5.1 \
- --lua-version=5.1
+ --runwith=lua5.2 \
+ --lua-version=5.2
make
}