updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / rtorrent-unstable / PKGBUILD
blobce937deeddebc20be70fa00cfe37824e5ea6f303
1 # Maintainer: Damir Jelic <poljarinho@gmail.com>
3 pkgname=rtorrent-unstable
4 _pkgname=rtorrent
5 pkgver=0.9.0
6 pkgrel=1
7 pkgdesc="Ncurses BitTorrent client based on libTorrent"
8 arch=('i686' 'x86_64')
9 url="http://libtorrent.rakshasa.no"
10 license=('GPL')
11 depends=('libtorrent-unstable=0.13.0' 'curl>=7.14.3' 'xmlrpc-c>=1858')
12 provides=('rtorrent')
13 conflicts=('rtorrent' 'rtorrent-svn')
14 source=("http://libtorrent.rakshasa.no/downloads/$_pkgname-$pkgver.tar.gz") 
15 md5sums=('9bc258d7a63dd13e3348f310ae26a434')
17 build() {
18   cd "$srcdir/$_pkgname-$pkgver"
20   CXXFLAGS="$CXXFLAGS  -fno-strict-aliasing" \
21     ./configure --prefix=/usr --enable-debug --with-xmlrpc-c 
22   sed -i -e 's/^LIBS = .*/& -pthread/' src/Makefile
23   make 
24   make DESTDIR="$pkgdir" install
27 # vim:set ts=2 sw=2 et: