summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22a2c6816124e774a309a689ddec4e52588cc6f0 (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
# Maintainer: Christian Babeux <christian.babeux@0x80.ca>

pkgname=lttng-ust-git
_gitname="lttng-ust"
pkgver=2.8.0.rc1.21.g6488ae4
pkgrel=1
pkgdesc="Userspace tracing library for LTTng"
arch=('i686' 'x86_64')
url="http://lttng.org/"
license=('GPL2' 'LGPL2.1')
depends=('liburcu>=0.7.2' 'util-linux' 'python')
makedepends=('git' 'asciidoc' 'xmlto')
provides=('lttng-ust')
conflicts=('lttng-ust')
optdepends=('babeltrace')
source=('git://git.lttng.org/lttng-ust.git')
sha1sums=('SKIP')

pkgver()
{
    cd $_gitname
    git describe --always | sed 's/-/./g;s/^v//'
}

build()
{
    cd $_gitname
    ./bootstrap
    ./configure --prefix=/usr
    make
}

package()
{
    cd $_gitname
    make DESTDIR="$pkgdir/" install
}