mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
28 lines
882 B
Bash
28 lines
882 B
Bash
# $Id: PKGBUILD 25865 2009-01-31 11:09:20Z allan $
|
|
# 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=('i686' 'x86_64')
|
|
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
|
|
}
|