summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6cad20fc8f1b647de559b91f55d31d864e15361d (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
# Maintainer: Homalozoa <xuhaiwang at xiaomi dot com>
# Contributor: Philippe Proulx <pproulx@efficios.com>
# Contributor: Manuel Mendez <mmenedez534 at gmail dot com>
# Contributor: Markus Opitz <mastero23 at gmail dot com>

pkgname=lttng-modules
pkgver=2.13.0
pkgrel=1
pkgdesc="LTTng kernel modules"
arch=('i686' 'x86_64')
url="http://lttng.org/"
license=('LGPL2.1' 'GPL2' 'MIT')
depends=('linux>=2.6.38')
makedepends=('linux-headers')
optdepends=(
    'lttng-tools: LTTng tracing control tools'
    'babeltrace: trace viewer'
)
install=${pkgname}.install
source=("http://lttng.org/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('62cd6564e6e9d9378a726fe44dafb01f7e973ae2')

build()
{
    cd "${srcdir}/${pkgname}-${pkgver}"
    make
}

package()
{
    cd "${srcdir}/${pkgname}-${pkgver}"
    make modules_install INSTALL_MOD_PATH="${pkgdir}/usr"
    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}