diff options
Diffstat (limited to 'testing/jabber-roster/APKBUILD')
-rw-r--r-- | testing/jabber-roster/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/jabber-roster/APKBUILD b/testing/jabber-roster/APKBUILD new file mode 100644 index 0000000000..b6990acb9c --- /dev/null +++ b/testing/jabber-roster/APKBUILD @@ -0,0 +1,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="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.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" |