mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Olivier Médoc <o_medoc@yahoo.fr>
|
|
# Contributor: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
|
|
# Maintainer: Guillermo A. Amaral <me@guillermoamaral.com> (thewonka)
|
|
|
|
pkgname=qtorrent
|
|
pkgver=0.9.5
|
|
pkgrel=4
|
|
pkgdesc="A Bittorrent Qt GUI"
|
|
arch=('i686' 'x86_64')
|
|
url="http://thegraveyard.org/qtorrent.php"
|
|
license=("MIT")
|
|
depends=('pyqt3')
|
|
makedepends=('bash' 'patch' 'python')
|
|
source=(http://thegraveyard.org/files/$pkgname-$pkgver.tar.bz2 \
|
|
torrentsettings.patch \
|
|
torrentwindow.patch \
|
|
torrentmain.patch)
|
|
md5sums=('5249c19a5d1bfec48bfb3f983a73818a' '30d1accdd81040970dfa7c345af0eeb8'\
|
|
'3e2ce3cadf23ae6b215873c283ed8220' 'b6702b99fac4cb7c95ab3c07b0b5d373')
|
|
|
|
build() {
|
|
|
|
cd $startdir/src/${pkgname}-${pkgver}/pyqtorrent/
|
|
|
|
patch -Np0 -i $startdir/src/torrentsettings.patch || return 1
|
|
patch -Np0 -i $startdir/src/torrentwindow.patch || return 1
|
|
patch -Np2 -i $startdir/src/torrentmain.patch || return 1
|
|
|
|
cd $startdir/src/${pkgname}-${pkgver}/
|
|
|
|
python setup.py install --root=$startdir/pkg
|
|
install -D -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt
|
|
}
|