updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / libtorrent-rc / PKGBUILD
blob76eaba7e9b63594965a3c74fb7fac7d605ed8f63
1 # Contributor: Alexey 'l1feh4ck3r' Antonov <1ifeh4ck3r at gmail dot com>
3 pkgname=libtorrent-rc
4 _pkgname=libtorrent
5 pkgver=0.15
6 pkgrel=1
7 pkgdesc="BitTorrent library written in C++"
8 arch=('i686' 'x86_64')
9 url="http://libtorrent.rakshasa.no"
10 license=('GPL')
11 depends=('libsigc++2.0' 'openssl')
12 makedepends=('subversion')
13 conflicts=('libtorrent')
14 provides=('libtorrent')
15 source=()
16 md5sums=()
18 _svnmod="libtorrent"
19 _svnrc="http://libtorrent.svn.sourceforge.net/svnroot/libtorrent/branches/RC_0_15"
21 build() {
22   cd $startdir/src
23   msg "Connecting to $_svnmod SVN server...."
24   svn co $_svnrc $_svnmod
26   msg "SVN checkout done or server timeout"
27   cd $_svnmod
29   msg "Starting make..."
30   pwd
31   ./autogen.sh
32   ./configure --prefix=/usr --disable-debug
34   make || return 1
36   mkdir -p $startdir/pkg/usr/bin
37   make DESTDIR=${startdir}/pkg install