1 pkgname=libtorrent-rasterbar-svn
4 pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around. SVN version"
6 url="http://www.rasterbar.com/products/libtorrent/"
8 depends=('boost-libs' 'python2')
9 makedepends=('boost' 'subversion')
10 conflicts=('libtorrent-rasterbar')
11 provides=('libtorrent-rasterbar')
13 _svntrunk="https://libtorrent.svn.sourceforge.net/svnroot/libtorrent/trunk/"
18 if [ -d $_svnmod/.svn ]; then
19 (cd $_svnmod && svn up)
21 svn co $_svntrunk $_svnmod
24 msg "SVN checkout done or server timeout"
25 msg "Starting make..."
27 if [[ -d ${srcdir}/${_svnmod}-build ]]; then
28 msg "Cleaning the previous build directory..."
29 rm -rf ${srcdir}/${_svnmod}-build
32 cp -r $_svnmod $_svnmod-build
34 export PYTHON="/usr/bin/python2"
36 ./configure --prefix=/usr --enable-python-binding
41 cd $srcdir/$_svnmod-build
42 make DESTDIR="${pkgdir}" install
43 install -D COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"