summaryrefslogtreecommitdiff
path: root/community/znc
diff options
context:
space:
mode:
Diffstat (limited to 'community/znc')
-rw-r--r--community/znc/PKGBUILD26
1 files changed, 19 insertions, 7 deletions
diff --git a/community/znc/PKGBUILD b/community/znc/PKGBUILD
index 9f42f7932..fd9981586 100644
--- a/community/znc/PKGBUILD
+++ b/community/znc/PKGBUILD
@@ -1,31 +1,43 @@
-# $Id: PKGBUILD 68939 2012-04-06 10:11:29Z seblu $
+# $Id: PKGBUILD 71849 2012-06-02 10:32:56Z bluewind $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: mickael9 <mickael9 at gmail dot com>
pkgname=znc
pkgver=0.206
-pkgrel=1
+pkgrel=2
pkgdesc='An IRC bouncer with modules & scripts support'
url='http://en.znc.in/wiki/index.php/ZNC'
license=('GPL2')
arch=('i686' 'x86_64')
-depends=('c-ares' 'gcc-libs' 'openssl')
-makedepends=('swig' 'tcl' 'python' 'perl' 'cyrus-sasl')
+depends=('c-ares' 'libsasl')
+#makedepends=('swig' 'tcl' 'python' 'perl')
+makedepends=('tcl' 'python' 'perl')
optdepends=('tcl: modtcl module'
'python: modpython module'
'perl: modperl module'
'cyrus-sasl: saslauth module')
-source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz")
-md5sums=('b7d3f21da81abaeb553066b0e10beb53')
+source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz"
+ "http://people.znc.in/~darthgandalf/znc/modperl/modperl-znc-0.204.tar.bz2"
+ "http://people.znc.in/~darthgandalf/znc/modpython/modpython-znc-0.204.tar.bz2")
+md5sums=('b7d3f21da81abaeb553066b0e10beb53'
+ 'a9c72d556d9a4ef100520433f17d71ae'
+ '19bf033c5cb9243171c215043c594f07')
build() {
+ # swig 2.0.6 is bugged, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672035
+ # use an alternate ways of building znc explain here:
+ # - http://wiki.znc.in/Modperl
+ # - http://wiki.znc.in/Modpython
+ mv -v modperl/* $pkgname-$pkgver/modules/modperl
+ mv -v modpython/* $pkgname-$pkgver/modules/modpython
cd $pkgname-$pkgver
./configure --prefix=/usr \
--enable-sasl \
- --enable-tcl \
--enable-python \
--enable-perl \
+ --enable-tcl \
+ --disable-swig \
--enable-extra
make
}