aboutsummaryrefslogtreecommitdiffstats
path: root/testing/deluge/APKBUILD
blob: bee14dc22de4ba14d88007617f91aca0b141266d (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
38
39
40
41
42
43
44
45
46
47
# Contributor: August Klein <amatcoder@gmail.com>
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=deluge
pkgver=2.0.3
pkgrel=4
pkgdesc="A lightweight, Free Software, cross-platform BitTorrent client"
url="https://deluge-torrent.org/"
arch="noarch"
license="GPL-3.0-or-later"
options="!check" # `setup.py check` run no test
depends="
	py3-setuptools
	py3-twisted
	py3-rencode
	py3-openssl
	py3-xdg
	py3-pillow
	py3-mako
	py3-chardet
	py3-six
	py3-setproctitle
	py3-zope-interface
	py3-asn1
	py3-markupsafe
	py3-service_identity
	py3-pyhamcrest
	py3-hyperlink
	py3-libtorrent-rasterbar
	py3-gobject3
	py3-cairo
	py3-wheel
	"
subpackages="$pkgname-doc"
source="http://download.deluge-torrent.org/source/${pkgver%.*}/deluge-$pkgver.tar.xz"

replaces="$pkgname-lang" # Overwrite removed subpackage

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3abec24495b22ec10649865c7ce7c3271224c7d25c0647b43f3c177b7ccb45d4c5c593f8c89d8bc8eac85ae5dc737f9960827587912dd527bb96100304a7d480  deluge-2.0.3.tar.xz"