[arch-commits] Commit in pcp/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:15:18 UTC 2020
Date: Thursday, November 12, 2020 @ 17:15:18
Author: felixonmars
Revision: 752390
archrelease: copy trunk to community-staging-x86_64
Added:
pcp/repos/community-staging-x86_64/
pcp/repos/community-staging-x86_64/PKGBUILD
(from rev 752387, pcp/trunk/PKGBUILD)
pcp/repos/community-staging-x86_64/sysuser.conf
(from rev 752387, pcp/trunk/sysuser.conf)
pcp/repos/community-staging-x86_64/tmpfile.conf
(from rev 752388, pcp/trunk/tmpfile.conf)
--------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
sysuser.conf | 1 +
tmpfile.conf | 7 +++++++
3 files changed, 54 insertions(+)
Copied: pcp/repos/community-staging-x86_64/PKGBUILD (from rev 752387, pcp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 17:15:18 UTC (rev 752390)
@@ -0,0 +1,46 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Iwan Timmer <irtimmer at gmail.com>
+
+pkgname=pcp
+pkgver=5.2.1
+pkgrel=2
+pkgdesc="System performance analysis toolkit"
+arch=('x86_64')
+url="https://pcp.io"
+license=('LGPL')
+depends=('python' 'avahi' 'procps-ng' 'which')
+makedepends=('libmicrohttpd' 'cairo' 'qt5-svg')
+optdepends=('libmicrohttpd: support for pmwebd'
+ 'cairo: support for pmwebd'
+ 'qt5-svg: support for PCP-GUI and pmchart'
+ 'perl-xml-tokeparser: support for sar2pcp'
+ 'perl-date-parse: support for sar2pcp')
+source=("https://github.com/performancecopilot/pcp/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ "sysuser.conf"
+ "tmpfile.conf")
+sha256sums=('55e31b908187bb3360b79ba6548c3dc2e16c63ae3ad346b87b2ee1dbbb3ef4e6'
+ '3e21ef7925296f73c91fe85c8dba341ce00366163845dd8993e2813b0ad5e4a4'
+ '0166ffea180527de5a48a8e8f145cc80860b93e8f44bc5f96836c3d1cb4b01a2')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-rundir=/run/pcp \
+ --without-dstat-symlink
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DIST_ROOT="$pkgdir" PCP_USER=root PCP_GROUP=root install
+
+ install -D -m644 "$srcdir"/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/pcp.conf
+ install -D -m644 "$srcdir"/tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/pcp.conf
+
+ rm -vrf "$pkgdir"/var/lib/pcp/testsuite "$pkgdir"/run "$pkgdir"/var/tmp
+}
Copied: pcp/repos/community-staging-x86_64/sysuser.conf (from rev 752387, pcp/trunk/sysuser.conf)
===================================================================
--- community-staging-x86_64/sysuser.conf (rev 0)
+++ community-staging-x86_64/sysuser.conf 2020-11-12 17:15:18 UTC (rev 752390)
@@ -0,0 +1 @@
+u pcp - "Performance Co-Pilot" /var/lib/pcp
Copied: pcp/repos/community-staging-x86_64/tmpfile.conf (from rev 752388, pcp/trunk/tmpfile.conf)
===================================================================
--- community-staging-x86_64/tmpfile.conf (rev 0)
+++ community-staging-x86_64/tmpfile.conf 2020-11-12 17:15:18 UTC (rev 752390)
@@ -0,0 +1,7 @@
+d /etc/pcp/nssdb 775 pcp pcp
+d /run/pcp 775 pcp pcp
+Z /var/log/pcp 775 pcp pcp
+Z /var/lib/pcp/config/pmie 775 pcp pcp
+Z /var/lib/pcp/config/pmlogger 775 pcp pcp
+Z /var/lib/pcp/config/pmda 775 pcp pcp
+Z /var/lib/pcp/tmp 775 pcp pcp
More information about the arch-commits
mailing list