blob: a8b87b0f9c3da84c11e7cdcb7b5e82b835591cc6 (
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
|
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=deluge
pkgver=1.3.15
pkgrel=3
pkgdesc="A lightweight, Free Software, cross-platform BitTorrent client"
url="https://deluge-torrent.org"
arch="noarch"
license="GPL-3.0"
depends="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="https://download.deluge-torrent.org/source/$pkgname-$pkgver.tar.bz2"
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="1d0f93a8c5081b807a390f79101d7f26751b0dfc47efe4c3573541014f9e5969461e2d421d17646c17fb81eb4f66f25f5ddce63b9bd226989adb7d7506146bda deluge-1.3.15.tar.bz2"
|