Date: Tuesday, March 6, 2018 @ 20:49:15
  Author: felixonmars
Revision: 303254

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-system-monitor/repos/community-testing-x86_64/
  deepin-system-monitor/repos/community-testing-x86_64/PKGBUILD
    (from rev 303253, deepin-system-monitor/trunk/PKGBUILD)
  
deepin-system-monitor/repos/community-testing-x86_64/deepin-system-monitor.install
    (from rev 303253, deepin-system-monitor/trunk/deepin-system-monitor.install)

-------------------------------+
 PKGBUILD                      |   35 +++++++++++++++++++++++++++++++++++
 deepin-system-monitor.install |    7 +++++++
 2 files changed, 42 insertions(+)

Copied: deepin-system-monitor/repos/community-testing-x86_64/PKGBUILD (from rev 
303253, deepin-system-monitor/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-03-06 20:49:15 UTC (rev 303254)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-system-monitor
+pkgver=1.4.2
+pkgrel=1
+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=('c4ac5ad0b65e75078bb4e951f9800f0a155d8d9fb8185385185042b99632ed19756e3f001e338dbbdb48f06a9fd7e5e6b816d4c34486b0c97963c46be78a1198')
+
+prepare() {
+  cd deepin-system-monitor-$pkgver
+  rm -r nethogs
+  sed -i 's|error("Build nethogs static library failed.")||' 
deepin-system-monitor.pro
+}
+
+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-testing-x86_64/deepin-system-monitor.install
 (from rev 303253, deepin-system-monitor/trunk/deepin-system-monitor.install)
===================================================================
--- community-testing-x86_64/deepin-system-monitor.install                      
        (rev 0)
+++ community-testing-x86_64/deepin-system-monitor.install      2018-03-06 
20:49:15 UTC (rev 303254)
@@ -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
+}

Reply via email to