blob: ca0ffb9437553c6d915e4e308694b0a59715a2ae (
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
44
|
# Maintainer: Simon Gardling <titaniumtown@gmail.com>
pkgname=sysprof-dev
_pkgname=sysprof
pkgver=3.35.92
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)
conflicts=(sysprof)
pkgver() {
cd $_pkgname
git describe --abbrev=0
}
prepare() {
cd sysprof
}
build() {
cd $_pkgname
git checkout tags/$pkgver
cd ..
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
}
|