From 1517345ab70f42a5e050f3dc9b498038118f9ff1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 13 Dec 2012 02:32:08 -0800 Subject: Thu Dec 13 02:27:45 PST 2012 --- community/prosody/PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'community/prosody/PKGBUILD') diff --git a/community/prosody/PKGBUILD b/community/prosody/PKGBUILD index 451c93cb2..071bdf72a 100644 --- a/community/prosody/PKGBUILD +++ b/community/prosody/PKGBUILD @@ -1,19 +1,17 @@ -# $Id: PKGBUILD 81128 2012-12-12 00:49:40Z eric $ +# $Id: PKGBUILD 81207 2012-12-13 02:54:35Z seblu $ # Maintainer: Sergej Pupykin # Maintainer: Dwayne Bent # Contributor: Paul-Sebastian Manole pkgname=prosody pkgver=0.8.2 -pkgrel=6 +pkgrel=8 pkgdesc="Lightweight and extensible Jabber/XMPP server written in Lua." arch=('i686' 'x86_64') url="http://prosody.im/" license=('MIT') -depends=('lua>=5.1' 'luasocket' 'luaexpat' 'luafilesystem' 'libidn>=0.5.18' 'openssl') -optdepends=('luasec: TLS encryption support' - 'lua-zlib: compression support' - 'luadbi: SQL storage support') +depends=('lua51' 'lua51-socket' 'lua51-expat' 'lua51-filesystem' 'libidn' 'openssl') +optdepends=('lua51-sec: TLS encryption support') install=prosody.install backup=('etc/logrotate.d/prosody' 'etc/prosody/prosody.cfg.lua') @@ -33,8 +31,10 @@ md5sums=('6e907bf0d0acf24f1011083020ba6ffb' build() { cd "$srcdir/prosody-$pkgver" patch -p1 <$srcdir/fix-config.patch + find . -type f -exec \ + sed -i '1s,^#! \?/usr/bin/\(env \|\)lua$,#!/usr/bin/lua5.1,' {} \; ./configure --prefix=/usr --sysconfdir=/etc/prosody \ - --datadir=/var/lib/prosody + --datadir=/var/lib/prosody --with-lua-include=/usr/include/lua5.1 make } -- cgit v1.2.3-54-g00ecf