aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jabber-roster/APKBUILD
blob: 90a6cc24392f0f6f556bbd50eef64ee446b9b4b8 (plain) (blame)
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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=jabber-roster
pkgver=0.1.1
pkgrel=0
pkgdesc="A Python tool for listing your Jabber roster contacts"
url="https://github.com/kparal/jabber-roster"
arch="noarch"
license="AGPL3"
depends=""
depends_dev="py-xmpp"
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --root "$pkgdir" || return 1
}

md5sums="2d84afe2874999bad5b627db24a0f4e5  jabber-roster-0.1.1.tar.gz"
sha256sums="e2499a426fa4b814e965e6dd33ee047171538cd9172762a0e64857e930f14c90  jabber-roster-0.1.1.tar.gz"
sha512sums="30b9e27cdc3e0d69940b3d7594dab98539fecf9f4a68a4e9133c38b2fd5784b038544cdf9418d65e55a357ff0123235653135f5687ed9ec1fb9d354ceffae1f4  jabber-roster-0.1.1.tar.gz"