blob: b145826108c10433f56a222c62fa72caa05c9387 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=deluge
pkgver=1.3.13
pkgrel=0
pkgdesc="A lightweight, Free Software, cross-platform BitTorrent client"
url="http://deluge-torrent.org"
arch="noarch"
license="GPL3"
depends="libtorrent-rasterbar<1.1.0 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"
makedepends="intltool librsvg-dev py-gtk-dev py-mako py-setuptools"
subpackages="$pkgname-lang $pkgname-doc"
source="http://download.deluge-torrent.org/source/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
lang() {
mkdir -p "$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n || return 1
mv "$pkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/* \
"$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/ || return 1
}
md5sums="07040dd05dd2fcda344e5fd3d2cd018b deluge-1.3.13.tar.bz2"
sha256sums="37b3a22cea3ce8b87183f5d2d972d70db6e61825ea1c6bbc052e0120c49ee8c5 deluge-1.3.13.tar.bz2"
sha512sums="8ff904e55d0c058f456df16b8bf07ca3ead266e817435f123b34cd2a334ef1fe46baaeb95e1cce3be3f5a52768b8352ea3e61151308e9002bfb40ef872659703 deluge-1.3.13.tar.bz2"
|