diff options
author | root <root@rshg054.dnsready.net> | 2012-12-13 02:32:08 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-13 02:32:08 -0800 |
commit | 1517345ab70f42a5e050f3dc9b498038118f9ff1 (patch) | |
tree | 7d253e05f7ccad9016d9c0dee8b2671e5b73045b /community/prosody | |
parent | ef947957a5734ba25be3cdb6595491c816592133 (diff) |
Thu Dec 13 02:27:45 PST 2012
Diffstat (limited to 'community/prosody')
-rw-r--r-- | community/prosody/PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
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 <pupykin.s+arch@gmail.com> # Maintainer: Dwayne Bent <dbb.0@liqd.org> # Contributor: Paul-Sebastian Manole <brokenthorn@gmail.com> 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 } |