diff options
-rw-r--r-- | community/glances/APKBUILD (renamed from testing/glances/APKBUILD) | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/glances/APKBUILD b/community/glances/APKBUILD index f191a589ae..8bb6514877 100644 --- a/testing/glances/APKBUILD +++ b/community/glances/APKBUILD @@ -4,26 +4,24 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=glances pkgver=2.6.2 -pkgrel=0 +pkgrel=1 pkgdesc="A CLI curses based monitoring tool" url="http://nicolargo.github.com/glances/" arch="noarch" license="LGPL3+" -depends="py-setuptools py-psutil py-bottle py-snmp py-batinfo" -depends_dev="" +depends="py-psutil py-bottle py-snmp py-batinfo docker-py" makedepends="python-dev py-setuptools" -install="" subpackages="$pkgname-doc" source="glances-$pkgver.tar.gz::https://github.com/nicolargo/glances/archive/v$pkgver.tar.gz" -_builddir="$srcdir"/glances-$pkgver +builddir="$srcdir"/glances-$pkgver build() { - cd "$_builddir" + cd "$builddir" python setup.py build || return 1 } package() { - cd "$_builddir" + cd "$builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 # Remove images and HTML doc depending on those |