diff options
author | Christoph Gysin | 2015-08-27 09:36:28 +0300 |
---|---|---|
committer | Christoph Gysin | 2015-08-27 09:36:28 +0300 |
commit | b710a2bbe5f3443223fddcd68e7fb4cb9c264f1e (patch) | |
tree | ac148fdcc3f68739068b3fd0bf43e8597cf58799 | |
download | aur-b710a2bbe5f3443223fddcd68e7fb4cb9c264f1e.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | lttng-modules.install | 14 |
4 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..01f3bcbf464e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = lttng-modules + pkgdesc = Kernel Modules for LTTng + pkgver = 2.6.2 + pkgrel = 1 + url = http://lttng.org/ + install = lttng-modules.install + arch = i686 + arch = x86_64 + license = LGPL2.1 + license = GPL2 + license = MIT + makedepends = linux-headers + depends = linux>=2.6.38 + source = http://lttng.org/files/lttng-modules/lttng-modules-2.6.2.tar.bz2 + sha1sums = d4c3f195a1294571d409734beec77eec0a864272 + +pkgname = lttng-modules + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..3317ac6609e8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/pkg/ +/src/ +/*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1c6efdae7d41 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Christian Babeux <christian.babeux@0x80.ca> +# Contributor: Manuel Mendez <mmenedez534 at gmail dot com> +# Contributor: Markus Opitz <mastero23 at gmail dot com> + +pkgname=lttng-modules +pkgver=2.6.2 +pkgrel=1 +pkgdesc="Kernel Modules for LTTng" +arch=('i686' 'x86_64') +url="http://lttng.org/" +license=('LGPL2.1' 'GPL2' 'MIT') +depends=('linux>=2.6.38') +makedepends=('linux-headers') +install=${pkgname}.install +source=(http://lttng.org/files/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +sha1sums=('d4c3f195a1294571d409734beec77eec0a864272') + +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 +} diff --git a/lttng-modules.install b/lttng-modules.install new file mode 100644 index 000000000000..2b53dd5c51f3 --- /dev/null +++ b/lttng-modules.install @@ -0,0 +1,14 @@ +post_install() +{ + depmod -a +} + +post_upgrade() +{ + depmod -a +} + +post_remove() +{ + depmod -a +} |