[arch-commits] Commit in sysprof/repos (2 files)

Jan Steffens heftig at archlinux.org
Thu Sep 12 20:34:32 UTC 2019


    Date: Thursday, September 12, 2019 @ 20:34:31
  Author: heftig
Revision: 362339

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  sysprof/repos/gnome-unstable-x86_64/
  sysprof/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 362338, sysprof/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: sysprof/repos/gnome-unstable-x86_64/PKGBUILD (from rev 362338, sysprof/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2019-09-12 20:34:31 UTC (rev 362339)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy.carrier at aur.archlinux.org>
+# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
+# Contributor: aeolist <aeolist at hotmail.com>
+# Contributor: Gabriel Rauter <rauter.gabriel at gmail.com>
+
+pkgname=sysprof
+pkgver=3.34.0
+pkgrel=1
+pkgdesc="Kernel based performance profiler"
+url="https://wiki.gnome.org/Apps/Sysprof"
+license=(GPL)
+arch=(x86_64)
+depends=(gtk3 polkit libdazzle)
+makedepends=(yelp-tools git meson)
+groups=(gnome-extra)
+_commit=ee32407b28c163ba10778b279c6c13f0cd47214a  # tags/sysprof-3.34.0^0
+source=("git+https://gitlab.gnome.org/GNOME/sysprof.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^sysprof-//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build
+  ninja -C build
+}
+
+check() {
+  # Test needs sysprofd at system dbus
+  meson test -C build --print-errorlogs || :
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}


More information about the arch-commits mailing list