aboutsummaryrefslogtreecommitdiffstats
path: root/testing/deluge/APKBUILD
blob: 78f1b93dc9679874d80024f9af0dd153268d32c7 (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.14
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="e02dbacc61920d59bc554fc95c154de7  deluge-1.3.14.tar.bz2"
sha256sums="c38ab40d71bf5c1b500958b2679fdfd3c45121860f1fade69b654ebd94e1ed09  deluge-1.3.14.tar.bz2"
sha512sums="5bf37b647a84b31c4c5fa660a7a9b1f20eaac25dfe314dbc771d3ca40259e0f994ebfc6925e81902698b04291de1cae8efb0e246f1aca631bdbcdfda51b9ba42  deluge-1.3.14.tar.bz2"