blob: 3d4a1b11188488e51715b8ce90f5d3a9a69c3b29 (
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
|
# Maintainer: albfan albertofanjul@gmail.com
pkgname=sysprof2-git
pkgver=3.33.3.r26.gce7b116
pkgrel=1
pkgdesc='CPU Profiler'
arch=('i686' 'x86_64' 'armv6h')
url='https://git.gnome.org/browse/sysprof'
license=('GPL3')
options=('!libtool')
depends=('gtk3' 'polkit')
makedepends=('git' 'meson' 'itstool' 'intltool')
provides=('sysprof')
conflicts=('sysprof')
source=('git+https://git.gnome.org/browse/sysprof')
md5sums=('SKIP')
_gitname='sysprof'
pkgver() {
cd "$_gitname"
git describe --long | sed 's/^sysprof-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_gitname"
rm -rf build
mkdir build
cd build
meson --libexecdir=lib --buildtype=release --prefix /usr ..
ninja
}
package() {
cd "$_gitname"
cd build
DESTDIR="$pkgdir" ninja install
}
|