contrib/deluge/Pkgfile

28 lines
770 B
Plaintext

# Description: A bittorrent client based on Python and GTK.
# URL: http://deluge-torrent.org/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org.
# Depends on: librsvg libtorrent-rasterbar pygtk pyopenssl python2-chardet pyxdg twisted intltool mako
name=deluge
version=1.3.5
release=3
source=(http://download.deluge-torrent.org/source/$name-$version.tar.lzma
fs31433.patch
issue2169.patch)
build() {
cd $name-$version
# Fix moving to storage
patch -p 1 -i $SRC/fs31433.patch
# Fix download location bug
patch -p 1 -i $SRC/issue2169.patch
OS='linux' python setup.py build
python setup.py install --root=$PKG install
install -d $PKG/usr/man
mv $PKG/usr/share/man $PKG/usr/
}