aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-jabberbot/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-jabberbot/APKBUILD')
-rw-r--r--testing/py-jabberbot/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/testing/py-jabberbot/APKBUILD b/testing/py-jabberbot/APKBUILD
index 4f1295d398..7f614b757d 100644
--- a/testing/py-jabberbot/APKBUILD
+++ b/testing/py-jabberbot/APKBUILD
@@ -6,19 +6,23 @@ pkgver=0.10
pkgrel=0
pkgdesc="A simple Jabber Bot for Python"
url="http://pypi.python.org/pypi/jabberbot"
-arch="x86"
+arch="noarch"
license="GPLv3"
-depends="xmpppy"
-depends_dev=
-makedepends="$depends_dev"
+depends="py-xmpppy python"
+makedepends="python-dev"
install=""
subpackages=""
source="http://thpinfo.com/2007/$_pkgname/jabberbot-$pkgver.tar.gz"
_builddir=$srcdir/jabberbot-$pkgver
+build() {
+ cd "$_builddir"
+ python setup.py build
+}
+
package() {
- cd "$_builddir"
+ cd "$_builddir"
python setup.py install --root="$pkgdir"
}