aboutsummaryrefslogtreecommitdiffstats
path: root/testing/deluge/APKBUILD
blob: 59892901e89f30d82995070c4e41df6e49a126cc (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=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"