summaryrefslogtreecommitdiff
path: root/rtorrent-ipv6/PKGBUILD
blob: 239cc1f2c5ec5f2d59edb7c543d16cdc5ae708a2 (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
# Contributor: Jon Bergli Heier <snakebite@jvnv.net>
# Based on the official PKGBUILD

pkgname=rtorrent-ipv6
pkgver=0.8.6
pkgrel=1
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')
provides=('rtorrent')
source=(http://libtorrent.rakshasa.no/downloads/rtorrent-$pkgver.tar.gz
http://home.samfundet.no/~sesse/rtorrent-0.8.6-ipv6-06.patch)
md5sums=('b804c45c01c40312926bcea6b55bb084'
'7c56334795ab69c6b8af35650c2600ff')

build() {
  cd "$srcdir/rtorrent-$pkgver"

  patch -p1 < rtorrent-0.8.6-ipv6-06.patch

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


# vim:set ts=2 sw=2 et: