summaryrefslogtreecommitdiff
path: root/community/znc/PKGBUILD
blob: fcbfea36a488e272dfefb684fc2b9daa0035659b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 32285 2010-11-13 03:23:05Z kchen $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: mickael9 <mickael9 at gmail dot com>

pkgname=znc
pkgver=0.096
pkgrel=2
pkgdesc='An IRC proxy (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' 'perl' 'cyrus-sasl')
optdepends=('tcl: modtcl module'
  'perl: modperl module'
  'cyrus-sasl: saslauth module')

source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('38eec4f1911a68b4d2fc704170e7cbf6')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
    --enable-sasl \
    --enable-tcl \
    --enable-perl \
    --enable-extra
  make; make DESTDIR="$pkgdir" install
}