# $Id: PKGBUILD 100560 2013-11-05 20:58:10Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Kaiting Chen # Contributor: mickael9 pkgname=znc pkgver=1.2 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') depends=('libsasl') makedepends=('tcl' 'python' 'perl') optdepends=('tcl: modtcl module' 'python: modpython module' 'perl: modperl module' 'cyrus-sasl: saslauth module') install=$pkgname.install source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz") md5sums=('ef18e5402a82cc3fcab5c2ac5c2e6f3b') build() { cd $pkgname-$pkgver ./configure --prefix=/usr \ --enable-cyrus \ --enable-python \ --enable-perl \ --enable-tcl \ --with-systemdsystemunitdir=/usr/lib/systemd/system make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: