PKGBUILDs/community/rtorrent/PKGBUILD

27 lines
711 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Daenyth <Daenyth [at] gmail [dot] com>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: sh__
pkgname=rtorrent
pkgver=0.8.5
pkgrel=1
pkgdesc="Ncurses BitTorrent client based on libTorrent"
arch=('i686' 'x86_64')
url="http://libtorrent.rakshasa.no"
license=('GPL')
depends=('libtorrent=0.12.5' 'curl>=7.14.3' 'xmlrpc-c')
source=(http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz)
md5sums=('e701095e1824b7e512a17000f4c0a783')
build() {
cd "$srcdir/$pkgname-$pkgver"
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
./configure --prefix=/usr --disable-debug --with-xmlrpc-c || return 1
make || return 1
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: