# Contributor: August Klein # Maintainer: August Klein pkgname=deluge pkgver=1.3.15 pkgrel=4 pkgdesc="A lightweight, Free Software, cross-platform BitTorrent client" url="https://deluge-torrent.org" arch="noarch" license="GPL-3.0" depends="py2-libtorrent-rasterbar librsvg py-cffi py-chardet py-cryptography py-enum34 py-gtk py-mako py-openssl py-setuptools py-six py-twisted py-xdg xdg-utils py-constantly py-incremental py-attrs py-service_identity py-automat" makedepends="intltool librsvg-dev py-gtk-dev py-mako py-setuptools" subpackages="$pkgname-lang $pkgname-doc" source="http://download.deluge-torrent.org/source/deluge-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" python2 setup.py build } package() { cd "$builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" } lang() { mkdir -p "$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n mv "$pkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/* \ "$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/ } sha512sums="0aa958184bdc24ea1cbd560ab1e496c6b44094cdafdd22fc4170b851d3255dc6756f8942522a35f90a9be4087e61d7e2656c87593aaa856dec54e39990ef9df0 deluge-1.3.15.tar.xz"