summaryrefslogtreecommitdiff
path: root/community/rtorrent/PKGBUILD
blob: e106bd12cd4078e79e36c78cf2f34df1f7172135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer:  Daenyth <Daenyth [at] gmail [dot] com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: sh__

pkgname=rtorrent
pkgver=0.8.6
pkgrel=3
pkgdesc="Ncurses BitTorrent client based on libTorrent"
arch=('i686' 'x86_64')
url="http://libtorrent.rakshasa.no"
license=('GPL')
depends=('libtorrent=0.12.6' 'curl>=7.14.3' 'xmlrpc-c>=1858')
source=("http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz" \
    ncurses58.patch)
options=(!strip)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -Np0 -i $srcdir/ncurses58.patch

  CXXFLAGS="$CXXFLAGS -g -fno-strict-aliasing" \
    ./configure --prefix=/usr --enable-debug --with-xmlrpc-c 
  make 
  make DESTDIR="$pkgdir" install
}


# vim:set ts=2 sw=2 et:
md5sums=('b804c45c01c40312926bcea6b55bb084'
         'b8fcd9b6d3385a85ff31de6f32e60e7d')
md5sums=('b804c45c01c40312926bcea6b55bb084'
         '1a525adddc0424c23ed9a4aa31c0164a')