aboutsummaryrefslogtreecommitdiffstats
path: root/testing/deluge/APKBUILD
blob: b51fa520eea430c93f36021644f48a27f68286d4 (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
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=deluge
pkgver=1.3.12
pkgrel=1
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"
depends_dev=""
makedepends="intltool librsvg-dev py-gtk-dev py-mako py-setuptools"
install=""
subpackages="$pkgname-lang $pkgname-doc"
source="http://download.deluge-torrent.org/source/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

lang() {
	mkdir -p "$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n || return1

	mv "$pkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/* \
	"$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/ || return 1
}

md5sums="d37714daf1e859e570a9446baa027dd3  deluge-1.3.12.tar.bz2"
sha256sums="565745b2a3f0567fc007dbdfeea2aa96a6bebd7dbdda2ec932a3017c66613c93  deluge-1.3.12.tar.bz2"
sha512sums="bcb909f70d407ec766a609a1525f48b0f0ce18217049ff05dfd03b3681bdc021a446afa265b288181c644b1e47c710f41d17b1244c3b991818b947a51b97eb74  deluge-1.3.12.tar.bz2"