1 # contributor: <scj archlinux us>
6 pkgdesc="An advanced IRC bouncer"
11 makedepends=('git' 'swig')
13 optdepends=('openssl' 'c-ares')
17 _gitroot="git://github.com/znc/znc.git"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
43 ./configure --prefix=/usr --enable-perl
48 cd "$srcdir/$_gitname-build"
49 make DESTDIR="$pkgdir/" install