4 pkgdesc="jabber -> jabber jabber transport"
6 url="http://wiki.jrudevels.org/Eng:J2J"
8 depends=('python' 'twisted' 'pyopenssl')
12 md5sums=('ecee7b8540f4cc6504f052cbc0305d8f')
14 _svntrunk=https://svn.jrudevels.org/j2j/trunk
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf $srcdir/$_svnmod-build
30 cp -r $srcdir/$_svnmod $srcdir/$_svnmod-build
31 cd $srcdir/$_svnmod-build
36 mkdir -p $pkgdir/usr/share/j2j $pkgdir/etc/ejabberd/ $pkgdir/var/run/j2jt
37 cp *.py *.schema $pkgdir/usr/share/j2j/ && \
38 cp j2j.conf.example $pkgdir/etc/ejabberd/ && \
39 cp $pkgdir/etc/ejabberd/j2j.conf.example $pkgdir/etc/ejabberd/j2j.conf && \
40 ln -s ../../../etc/ejabberd/j2j.conf $pkgdir/usr/share/j2j/j2j.conf
41 install -D -m0755 ../j2j.rc $startdir/pkg/etc/rc.d/$pkgname