Date: Thursday, June 15, 2017 @ 17:32:40
  Author: felixonmars
Revision: 237306

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

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

--------------------------------------------------------+
 community-testing-i686/PKGBUILD                        |   34 +++++++++++++++
 community-testing-i686/deepin-system-monitor.install   |    7 +++
 community-testing-x86_64/PKGBUILD                      |   34 +++++++++++++++
 community-testing-x86_64/deepin-system-monitor.install |    7 +++
 4 files changed, 82 insertions(+)

Copied: deepin-system-monitor/repos/community-testing-i686/PKGBUILD (from rev 
237305, deepin-system-monitor/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2017-06-15 17:32:40 UTC (rev 237306)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-system-monitor
+pkgver=0.0.2
+pkgrel=1
+pkgdesc='A more user-friendly system monitor'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/deepin-system-monitor";
+license=('GPL3')
+depends=('deepin-tool-kit' 'procps-ng' 'nethogs' 'libcap')
+groups=('deepin')
+install=deepin-system-monitor.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-system-monitor/archive/$pkgver.tar.gz";)
+sha512sums=('a11e4ff5a6fd7701f291dc8367e4dc5c8c1eb71a2bea96c119fbb4c0bf6bdc7bc59160db74d3b3bcd527a610e0eca0b7c3af9270d98ed2a9de618cc421c5eb2a')
+
+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
+  install -Dm755 deepin-system-monitor "$pkgdir"/usr/bin/deepin-system-monitor
+}

Copied: 
deepin-system-monitor/repos/community-testing-i686/deepin-system-monitor.install
 (from rev 237305, deepin-system-monitor/trunk/deepin-system-monitor.install)
===================================================================
--- community-testing-i686/deepin-system-monitor.install                        
        (rev 0)
+++ community-testing-i686/deepin-system-monitor.install        2017-06-15 
17:32:40 UTC (rev 237306)
@@ -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
+}

Copied: deepin-system-monitor/repos/community-testing-x86_64/PKGBUILD (from rev 
237305, deepin-system-monitor/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-06-15 17:32:40 UTC (rev 237306)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-system-monitor
+pkgver=0.0.2
+pkgrel=1
+pkgdesc='A more user-friendly system monitor'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/deepin-system-monitor";
+license=('GPL3')
+depends=('deepin-tool-kit' 'procps-ng' 'nethogs' 'libcap')
+groups=('deepin')
+install=deepin-system-monitor.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-system-monitor/archive/$pkgver.tar.gz";)
+sha512sums=('a11e4ff5a6fd7701f291dc8367e4dc5c8c1eb71a2bea96c119fbb4c0bf6bdc7bc59160db74d3b3bcd527a610e0eca0b7c3af9270d98ed2a9de618cc421c5eb2a')
+
+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
+  install -Dm755 deepin-system-monitor "$pkgdir"/usr/bin/deepin-system-monitor
+}

Copied: 
deepin-system-monitor/repos/community-testing-x86_64/deepin-system-monitor.install
 (from rev 237305, 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      2017-06-15 
17:32:40 UTC (rev 237306)
@@ -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