summaryrefslogtreecommitdiff
path: root/community/znc/PKGBUILD
blob: 1caedaf5064dffcc0c8348a8ea4d9ea850667aef (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
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 64239 2012-02-11 00:56:46Z tdziedzic $
# Maintainer: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: mickael9 <mickael9 at gmail dot com>

pkgname=znc
pkgver=0.204
pkgrel=1
pkgdesc='An IRC bouncer with modules & scripts support'
url='http://en.znc.in/wiki/index.php/ZNC'
license=('GPL2')
arch=('i686' 'x86_64' 'mips64el')
depends=('c-ares' 'gcc-libs' 'openssl')
makedepends=('swig' 'tcl' 'python' 'perl' 'cyrus-sasl')
optdepends=('tcl: modtcl module'
            'python: modpython module'
            'perl: modperl module'
            'cyrus-sasl: saslauth module')
source=("http://znc.in/releases/znc-${pkgver}.tar.gz")
md5sums=('7c7247423fc08b0c5c62759a50a9bca3')

build() {
  cd "znc-$pkgver"

  ./configure --prefix=/usr \
    --enable-sasl \
    --enable-tcl \
    --enable-python \
    --enable-perl \
    --enable-extra

  make
}

package() {
  cd "znc-$pkgver"

  make DESTDIR="$pkgdir" install
}