summaryrefslogtreecommitdiff
path: root/community/znc/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-09 03:36:00 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-09 03:36:00 +0000
commit66018e3cb2f893ec3add478fcd86ed3334e46fa9 (patch)
tree3336c03eb23042b17727e6ab856ce359443b2d48 /community/znc/PKGBUILD
parent740a52614d0b18baf8d2177a89036a29c8cd3bd8 (diff)
Fri May 9 03:32:12 UTC 2014
Diffstat (limited to 'community/znc/PKGBUILD')
-rw-r--r--community/znc/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/znc/PKGBUILD b/community/znc/PKGBUILD
new file mode 100644
index 000000000..3980d6d84
--- /dev/null
+++ b/community/znc/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 110821 2014-05-07 23:03:49Z seblu $
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy@gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=znc
+pkgver=1.2
+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=('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"
+ '01-sec-correctly-handle-channel-names.patch')
+md5sums=('ef18e5402a82cc3fcab5c2ac5c2e6f3b'
+ 'SKIP')
+
+prepare() {
+ patch -p1 -d $pkgname-$pkgver < 01-sec-correctly-handle-channel-names.patch
+}
+
+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: