diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 16 insertions, 19 deletions
@@ -1,6 +1,6 @@ pkgbase = prosody-hg pkgdesc = Lightweight and extensible Jabber/XMPP server written in Lua (development build from trunk-branch) - pkgver = r9505+.5203b6fd34d4+ + pkgver = r9606+.cb684a0ded2a+ pkgrel = 1 url = https://prosody.im/ install = prosody.install @@ -11,15 +11,15 @@ pkgbase = prosody-hg checkdepends = luacheck checkdepends = shellcheck makedepends = mercurial - depends = lua51 - depends = lua51-socket - depends = lua51-expat - depends = lua51-filesystem + depends = lua52 + depends = lua52-socket + depends = lua52-expat + depends = lua52-filesystem depends = libidn depends = openssl - optdepends = lua51-sec: TLS encryption support - optdepends = lua51-bitop: websocket support - optdepends = lua51-event: libevent support + optdepends = lua52-sec: TLS encryption support + optdepends = lua52-bitop: websocket support + optdepends = lua52-event: libevent support provides = prosody conflicts = prosody backup = etc/prosody/prosody.cfg.lua @@ -9,7 +9,7 @@ pkgname=prosody-hg pkgrel=1 -pkgver=r9505+.5203b6fd34d4+ +pkgver=r9637+.b8301ba2c437+ pkgver() { cd "$srcdir/$pkgname" printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)" @@ -21,7 +21,7 @@ license=('MIT') depends=('lua51' 'lua51-socket' 'lua51-expat' 'lua51-filesystem' 'libidn' 'openssl') makedepends=('mercurial') -checkdepends=('luacheck' 'shellcheck') +checkdepends=('luacheck' 'shellcheck' 'lua52-posix' 'lua52-sec') conflicts=('prosody') provides=('prosody') optdepends=( @@ -56,15 +56,6 @@ prepare() { echo "" >> prosody.cfg.lua.dist cat prosody.cfg.lua.old >> prosody.cfg.lua.dist rm prosody.cfg.lua.old - - - #sed -i 's|sock, err = socket.udp();|sock, err = (socket.udp4 or socket.udp)();|g' net/dns.lua -} - -check() { - cd ${pkgname} - - make lint } build() { @@ -78,6 +69,12 @@ build() { make } +check() { + cd ${pkgname} + + make lint +} + package() { cd ${pkgname} make DESTDIR="${pkgdir}" install |