#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented is optional and can be deleted pkgname=glances pkgver=1.7.2 pkgrel=1rl #arch=noarch source=(https://github.com/nicolargo/glances/archive/v1.7.2.tar.gz) sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("authors" "install" "readme" "copying") url=https://github.com/nicolargo/glances #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "glances (a cross-platform curses-based monitoring tool)" "glances is a cross-platform curses-based monitoring tool written in" "Python, which can adapt the displayed information depending on the" "terminal size. It can also work in a client/server mode for remote" "monitoring. It uses the psutil library to get information from your" "system." "Homepage: https://github.com/nicolargo/glances" ) build() { cd $startdir/src/$pkgname-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg # Python 3 support if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$PKG-prefix=/usr --root=$startdir/pkg fi }