diff options
author | root <root@rshg054.dnsready.net> | 2012-09-30 01:25:00 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-30 01:25:00 -0700 |
commit | 75826a796a4589c1999f1b3b86eb8c122ef44edd (patch) | |
tree | 5a5d447af9ccc76d5aeba1f75ff063b405ab9489 /community-staging/znc | |
parent | b004f93f171149c5a53d464819b9d0197f1d783e (diff) |
Sun Sep 30 01:24:59 PDT 2012
Diffstat (limited to 'community-staging/znc')
-rw-r--r-- | community-staging/znc/PKGBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community-staging/znc/PKGBUILD b/community-staging/znc/PKGBUILD new file mode 100644 index 000000000..f2690b1c5 --- /dev/null +++ b/community-staging/znc/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 76775 2012-09-29 19:15:54Z seblu $ +# 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=3 +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' '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" + "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-python \ + --enable-perl \ + --enable-tcl \ + --disable-swig \ + --enable-extra + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |