1 # Contributor: Zariel <c.bannister@gmail.com>
6 pkgdesc="Irssi - A cli irc client"
8 url="http://irssi.org/"
10 depends=('glib2' 'openssl' 'ncurses' 'perl>=5.10.0-1' 'lynx')
13 _gitroot="git://git.irssi.org/irssi"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
23 git merge origin/trunk
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -r "$srcdir/$_gitname-build"
33 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
37 ./autogen.sh --prefix=/usr --with-proxy --sysconfdir=/etc \
38 --with-perl-lib=vendor
41 make DESTDIR=$startdir/pkg install
43 rm $startdir/pkg/usr/lib/perl5/core_perl/perllocal.pod