aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-xmpppy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py-xmpppy/APKBUILD')
-rw-r--r--testing/py-xmpppy/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/testing/py-xmpppy/APKBUILD b/testing/py-xmpppy/APKBUILD
index fefe8e7cf1..e881e34eb5 100644
--- a/testing/py-xmpppy/APKBUILD
+++ b/testing/py-xmpppy/APKBUILD
@@ -8,20 +8,24 @@ pkgrel=1
pkgdesc="A Python library to provide easy scripting with Jabber"
url="http://xmpppy.sourceforge.net/"
arch="noarch"
-license="GPL"
+license="GPL2+"
depends="python"
makedepends="py-setuptools python-dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/sourceforge/xmpppy/$_pkgname-$_pkgver.tar.gz"
+
_builddir=$srcdir/$_pkgname-$_pkgver
build() {
cd "$_builddir"
- python setup.py build
+ python setup.py build || return 1
}
+
package() {
cd "$_builddir"
- mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
- python setup.py install --root="$pkgdir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
+
md5sums="e0d2b3f9e4a278c163431e64adb0c861 xmpppy-0.5.0rc1.tar.gz"
+sha256sums="519b025b3c9600c26c5805d0c612fe01e61330d2b9869f05c7c416c627820b9a xmpppy-0.5.0rc1.tar.gz"
+sha512sums="7fe91ff313533a419e125bb69163dfb122723e67ca70feab00748b5deafc0c99aa002cbebf0f89b8bc7ce465bb2c775ab98509761af07d90295bc1e9c50eee23 xmpppy-0.5.0rc1.tar.gz"