1) deluge (contains the daemon, deluge-console, and deluge-web)
2) deluge-gtk (contains the deluge-gtk)
Here is how the current all-in-one package for Arch linux is created. Note that Arch linux uses a "PKGBUILD" which is a template for it's package manager. It is very simple. In a nutshell, this package is a two step process 1) build and 2) package. $srcdir is the source and $pkgdir is the dirtree where the files will go installed by Arch's package manager.
The complete PKGBUILD is here but here are the important parts:
1) Build:
Code: Select all
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py build
Code: Select all
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
install -Dm644 deluge/data/pixmaps/deluge.svg "$pkgdir/usr/share/pixmaps/deluge.svg"
_dir="$pkgdir/usr/lib/python2.7/site-packages/deluge/ui"
sed -e '1s/python$/&2/' -i "$_dir/Win32IconImagePlugin.py" -i "$_dir/web/gen_gettext.py"