[arch-commits] Commit in deepin-system-monitor/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Dec 19 09:47:40 UTC 2020
Date: Saturday, December 19, 2020 @ 09:47:39
Author: foutrelis
Revision: 779867
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-system-monitor/repos/community-staging-x86_64/
deepin-system-monitor/repos/community-staging-x86_64/PKGBUILD
(from rev 779866, deepin-system-monitor/trunk/PKGBUILD)
deepin-system-monitor/repos/community-staging-x86_64/deepin-system-monitor.install
(from rev 779866, deepin-system-monitor/trunk/deepin-system-monitor.install)
-------------------------------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
deepin-system-monitor.install | 7 +++++++
2 files changed, 43 insertions(+)
Copied: deepin-system-monitor/repos/community-staging-x86_64/PKGBUILD (from rev 779866, deepin-system-monitor/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-12-19 09:47:39 UTC (rev 779867)
@@ -0,0 +1,36 @@
+# 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.8.0.3
+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' 'libcap')
+makedepends=('cmake' 'deepin-gettext-tools' 'ninja' '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=('4d5fae65efe3f1c2e81e3e62d2ade75cbd4373e79b43b88ecc690cdc16503977c5636ef905f502c8aa2cf5dfd7d514490fdcebc57261fbd8c2da842193a0370d')
+
+prepare() {
+ cd deepin-system-monitor-$pkgver
+# Workaround build failure with GCC 10
+ sed -e 's|print_err|print_err_system|g' -i src/process/system_stat.cpp
+ sed -e 's|print_err|print_err_process|g' -i src/process/process_stat.cpp
+ sed -e 's|print_err|print_err_desktop|g' -i src/process/desktop_entry_stat.cpp
+}
+
+build() {
+ cd deepin-system-monitor-$pkgver
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+ ninja
+}
+
+package() {
+ cd deepin-system-monitor-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
Copied: deepin-system-monitor/repos/community-staging-x86_64/deepin-system-monitor.install (from rev 779866, deepin-system-monitor/trunk/deepin-system-monitor.install)
===================================================================
--- community-staging-x86_64/deepin-system-monitor.install (rev 0)
+++ community-staging-x86_64/deepin-system-monitor.install 2020-12-19 09:47:39 UTC (rev 779867)
@@ -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