1 # Contributor: scj, wzff
6 pkgdesc="irssi plugin to connect to the Jabber network"
8 url="http://cybione.org/~irssi-xmpp/"
9 provides=('irssi-xmpp')
11 conflicts=('irssi-xmpp')
12 depends=('loudmouth' 'irssi')
14 source=("http://irssi.org/files/irssi-$_irssiver.tar.bz2")
15 md5sums=('1dcb3f511b88df94b0c996f36668c7da')
17 _cvsroot="anoncvs@cvs.cybione.org:/cvs/irssi-xmpp"
22 msg "CVS: Connecting to $_cvsroot..."
23 if [ -d $_cvsmod/CVS ]; then
25 CVS_RSH='ssh' cvs -z3 update -d -P
27 CVS_RSH='ssh' cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
29 msg "CVS checkout done or server timeout"
31 # we need the irssi headers, and they are no longer in the package.
32 cd $srcdir/irssi-$_irssiver
33 ./configure --prefix=/usr \
36 --with-perl-lib=vendor
38 rm -rf "$srcdir/$_cvsmod-build"
39 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
40 cd "$srcdir/$_cvsmod-build"
41 make IRSSI_INCLUDE=$srcdir/irssi-$_irssiver
44 cd $srcdir/$_cvsmod-build
45 make install DESTDIR=$pkgdir PREFIX=/usr
47 # vim:set ts=4 sw=4 et: