aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jabber-roster
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-25 19:05:19 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-12-25 19:05:19 +0000
commit93f3b5dfe2d2ee355e4b271bd0ac48d5f8f2a42c (patch)
treefff4920a77c27994a11a04629ee2a19db89fd4a9 /testing/jabber-roster
parent96c37bb8f60c4395372a255db1db25c4321c03ce (diff)
downloadaports-93f3b5dfe2d2ee355e4b271bd0ac48d5f8f2a42c.tar.bz2
aports-93f3b5dfe2d2ee355e4b271bd0ac48d5f8f2a42c.tar.xz
testing/jabber-roster: modernize APKBUILD
Diffstat (limited to 'testing/jabber-roster')
-rw-r--r--testing/jabber-roster/APKBUILD26
1 files changed, 6 insertions, 20 deletions
diff --git a/testing/jabber-roster/APKBUILD b/testing/jabber-roster/APKBUILD
index bb04680f0c..c4db10c2fc 100644
--- a/testing/jabber-roster/APKBUILD
+++ b/testing/jabber-roster/APKBUILD
@@ -2,39 +2,25 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=jabber-roster
pkgver=0.1.1
-pkgrel=0
+pkgrel=1
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
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --root "$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --root "$pkgdir"
}
-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"