[arch-commits] Commit in glances/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Tue Sep 4 11:07:07 UTC 2018
Date: Tuesday, September 4, 2018 @ 11:07:07
Author: shibumi
Revision: 376609
upgpkg: glances 3.0-1
Modified:
glances/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-04 11:02:01 UTC (rev 376608)
+++ PKGBUILD 2018-09-04 11:07:07 UTC (rev 376609)
@@ -4,8 +4,8 @@
# Contributor: Francois Boulogne <fboulogne at april dot org>
pkgname=glances
-pkgver=2.11.1
-pkgrel=3
+pkgver=3.0
+pkgrel=1
pkgdesc='CLI curses-based monitoring tool'
arch=('any')
url='https://github.com/nicolargo/glances'
@@ -18,16 +18,16 @@
'python-matplotlib: for graphical/chart support'
'python-netifaces: for the IP plugin'
'python-zeroconf: for the autodiscover mode')
-source=("git+https://github.com/nicolargo/glances.git#tag=v$pkgver"
+source=("https://github.com/nicolargo/glances/archive/v${pkgver}.tar.gz"
'glances.service')
-md5sums=('SKIP'
- '193fe4123456b0a9567d8d5952c4c606')
+sha512sums=('3f63ee11a6ea2cad17256cdb6ed8c7e09b1c892e8b0bdac959a8a319efe36ddb625cd6fc45409d07d6d160fd26e2e5d5a73c4e84ab71399d5aa5ddc7c7897e4c'
+ '49f0d185a37a5c5837e5beb463770c943ede40b2f1b8405e338129e897e97d9fc58373a8586fabc506266e6343cfea3c91b9787ac6832cc97a1ab63d6ad058d4')
package() {
- cd glances
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
- install -Dm644 "$srcdir"/glances.service \
- "$pkgdir"/usr/lib/systemd/system/glances.service
+ cd "glances-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+ install -Dm644 "${srcdir}"/glances.service \
+ "${pkgdir}"/usr/lib/systemd/system/glances.service
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list