PKGBUILDs/extra/bittorrent/PKGBUILD
2009-10-18 22:17:58 -05:00

27 lines
821 B
Bash

# 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."
arch=('arm')
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
}