1 # Maintainer: Marcin Karpezo <sirmacik at gmail dot com>
2 # Contributor: Lucky <aur.archlinux.org [at] lucky.take0ver [dot] net>
3 # Contributor: Jonny Gerold <jonny@fsk141.com>
4 # Contributor: Daenyth <Daenyth [at] gmail [dot] com>
5 # Contributor: Jeff Mickey <jeff@archlinux.org>
12 pkgdesc="Ncurses BitTorrent client based on libTorrent"
13 url="http://libtorrent.rakshasa.no"
15 arch=("i686" "x86_64")
16 depends=("curl" "libtorrent-svn>=1189" "xmlrpc-c-svn>=2065")
17 makedepends=("cppunit" "subversion")
18 conflicts=("rtorrent")
20 install=rtorrent.install
25 _svntrunk="svn://rakshasa.no/libtorrent/trunk/${_svnmod}"
31 msg "Connecting to SVN server..."
32 if [ -d "${_svnmod}" ]; then
33 (cd "${_svnmod}" && svn update -r "${pkgver}")
34 msg "The local repository was updated."
36 svn co "${_svntrunk}" "${_svnmod}" -r "${pkgver}"
38 msg "SVN checkout done or server timeout."
40 if [ -d "${_svnmod}-build" ]; then
41 rm -rf "${_svnmod}-build"
43 cp -rf "${_svnmod}" "${_svnmod}-build"
47 CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" \
48 ./configure --prefix=/usr --disable-debug --with-xmlrpc-c
50 make DESTDIR="${pkgdir}" install
52 # vim:set ts=2 sw=2 et: