blob: 27580524f04a13933978cf27b7deadc3e95acab4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Ignacy KuchciĆski (ignapk) <ignacykuchcinski@gmail.com>
# Contributor: Simon Gardling <titaniumtown@gmail.com>
pkgname=sysprof-git
_pkgname=sysprof
pkgver=3.40.0+1+g7353f8d
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)
source=("git+https://gitlab.gnome.org/GNOME/sysprof.git")
sha256sums=('SKIP')
provides=(sysprof sysprof2-git)
conflicts=(sysprof sysprof2-git)
replaces=(sysprof2-git)
pkgver() {
cd $_pkgname
git describe --tags | sed 's/^sysprof-//;s/-/+/g'
}
prepare() {
cd sysprof
}
build() {
CFLAGS+=" -ffat-lto-objects"
arch-meson sysprof build
ninja -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|