[arch-commits] Commit in deepin-system-monitor/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Apr 17 19:09:31 UTC 2020
Date: Friday, April 17, 2020 @ 19:09:30
Author: felixonmars
Revision: 615725
archrelease: copy trunk to community-x86_64
Added:
deepin-system-monitor/repos/community-x86_64/PKGBUILD
(from rev 615724, deepin-system-monitor/trunk/PKGBUILD)
deepin-system-monitor/repos/community-x86_64/deepin-system-monitor.install
(from rev 615724, deepin-system-monitor/trunk/deepin-system-monitor.install)
Deleted:
deepin-system-monitor/repos/community-x86_64/PKGBUILD
deepin-system-monitor/repos/community-x86_64/deepin-system-monitor.install
-------------------------------+
PKGBUILD | 72 ++++++++++++++++++++--------------------
deepin-system-monitor.install | 14 +++----
2 files changed, 44 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-17 19:09:20 UTC (rev 615724)
+++ PKGBUILD 2020-04-17 19:09:30 UTC (rev 615725)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=deepin-system-monitor
-pkgver=5.0.0
-pkgrel=2
-pkgdesc='A more user-friendly system monitor'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-system-monitor"
-license=('GPL3')
-depends=('deepin-qt5integration' 'dtkwm' 'procps-ng' 'nethogs' 'libcap')
-makedepends=('qt5-tools')
-groups=('deepin')
-install=deepin-system-monitor.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-system-monitor/archive/$pkgver.tar.gz")
-sha512sums=('86694da7a50b703715a07bf4e7b8eb92f2cef1b0f9d854e415a2593bae4c6afa33f3283e89ce819f67ff05fcc5171041fb5e060756a1d50be8679ea16e2d9beb')
-
-prepare() {
- cd deepin-system-monitor-$pkgver
- rm -r nethogs
- sed -i 's|error("Build nethogs static library failed.")||' deepin-system-monitor.pro
- echo > src/hashqstring.h
-}
-
-build() {
- cd deepin-system-monitor-$pkgver
- qmake-qt5 PREFIX=/usr
- make
-}
-
-package() {
- cd deepin-system-monitor-$pkgver
- make INSTALL_ROOT="$pkgdir" install
-}
Copied: deepin-system-monitor/repos/community-x86_64/PKGBUILD (from rev 615724, deepin-system-monitor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-17 19:09:30 UTC (rev 615725)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-system-monitor
+pkgver=5.0.0
+pkgrel=3
+pkgdesc='A more user-friendly system monitor'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-system-monitor"
+license=('GPL3')
+depends=('deepin-qt5integration' 'dtkwm' 'procps-ng' 'nethogs' 'libcap')
+makedepends=('qt5-tools')
+groups=('deepin')
+install=deepin-system-monitor.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-system-monitor/archive/$pkgver.tar.gz")
+sha512sums=('86694da7a50b703715a07bf4e7b8eb92f2cef1b0f9d854e415a2593bae4c6afa33f3283e89ce819f67ff05fcc5171041fb5e060756a1d50be8679ea16e2d9beb')
+
+prepare() {
+ cd deepin-system-monitor-$pkgver
+ rm -r nethogs
+ sed -i 's|error("Build nethogs static library failed.")||' deepin-system-monitor.pro
+ echo > src/hashqstring.h
+
+ sed -i 's/nethogsmonitor_loop(&onNethogsUpdate);/nethogsmonitor_loop(\&onNethogsUpdate, NULL, 1000);/' src/network_traffic_filter.cpp
+}
+
+build() {
+ cd deepin-system-monitor-$pkgver
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd deepin-system-monitor-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
Deleted: deepin-system-monitor.install
===================================================================
--- deepin-system-monitor.install 2020-04-17 19:09:20 UTC (rev 615724)
+++ deepin-system-monitor.install 2020-04-17 19:09:30 UTC (rev 615725)
@@ -1,7 +0,0 @@
-post_install() {
- setcap cap_kill,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+ep usr/bin/deepin-system-monitor
-}
-
-post_upgrade() {
- post_install
-}
Copied: deepin-system-monitor/repos/community-x86_64/deepin-system-monitor.install (from rev 615724, deepin-system-monitor/trunk/deepin-system-monitor.install)
===================================================================
--- deepin-system-monitor.install (rev 0)
+++ deepin-system-monitor.install 2020-04-17 19:09:30 UTC (rev 615725)
@@ -0,0 +1,7 @@
+post_install() {
+ setcap cap_kill,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+ep usr/bin/deepin-system-monitor
+}
+
+post_upgrade() {
+ post_install
+}
More information about the arch-commits
mailing list