2009-10-10 02:23:22 +00:00
|
|
|
# Mantainer: Juergen Hoetzel <juergen@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=bittorrent
|
|
|
|
pkgver=5.2.2
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="BitTorrent is a tool for copying files from one machine to another."
|
2009-10-19 03:17:58 +00:00
|
|
|
arch=('arm')
|
2009-10-10 02:23:22 +00:00
|
|
|
url="http://www.bittorrent.com"
|
|
|
|
install=bittorrent.install
|
|
|
|
depends=('twisted' 'pycrypto')
|
|
|
|
source=(http://download.bittorrent.com/dl/archive/BitTorrent-${pkgver}.tar.gz)
|
|
|
|
license=('custom')
|
|
|
|
md5sums=('d8891cfa4c6bb796c8e948eace7694bc')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $srcdir/BitTorrent-$pkgver
|
|
|
|
python ./setup.py install --root=$pkgdir
|
|
|
|
|
|
|
|
# remove broken wx interface
|
|
|
|
rm $pkgdir/usr/bin/{bittorrent,maketorrent}
|
|
|
|
rm -rf $pkgdir/usr/lib/python2.6/site-packages/BitTorrent/GUI_wx
|
|
|
|
rm -rf $pkgdir/usr/share/pixmaps
|
|
|
|
|
|
|
|
# install custom license
|
|
|
|
install -Dm644 $srcdir/BitTorrent-$pkgver/LICENSE.txt \
|
|
|
|
$pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
|
|
}
|