[arch-commits] Commit in glances/trunk (PKGBUILD)

Sébastien Luttringer seblu at nymeria.archlinux.org
Sat Jun 21 00:26:38 UTC 2014


    Date: Saturday, June 21, 2014 @ 02:26:37
  Author: seblu
Revision: 113378

upgpkg: glances 2.0-3

- remove html doc
- FS#40916

Modified:
  glances/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-20 22:48:46 UTC (rev 113377)
+++ PKGBUILD	2014-06-21 00:26:37 UTC (rev 113378)
@@ -5,7 +5,7 @@
 
 pkgname=glances
 pkgver=2.0
-pkgrel=2
+pkgrel=3
 pkgdesc='CLI curses-based monitoring tool'
 arch=('any')
 url='https://github.com/nicolargo/glances'
@@ -14,12 +14,14 @@
 optdepends=('python-jinja: HTML export'
             'python-bottle: web server support'
             'hddtemp: HDD temperature monitoring support')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('e7c719af8676caaefa70adff1e5ef856c3c97791e3171608eded6d95350f9d94')
+source=("https://pypi.python.org/packages/source/G/Glances/Glances-$pkgver.tar.gz")
+md5sums=('4073889587195386df476f826256b81b')
 
 package() {
-  cd $pkgname-$pkgver
+  cd Glances-$pkgver
   python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  # remove html doc
+  rm -r "$pkgdir/usr/share/doc/$pkgname"/{glances-doc.html,images}
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list