diff options
author | Christoph Gysin | 2015-08-27 09:36:28 +0300 |
---|---|---|
committer | Christoph Gysin | 2015-08-27 09:36:28 +0300 |
commit | fe7c91f09130780d6a4a2d734ba7c7d09f28b507 (patch) | |
tree | 46800b612c274ac744cf197c3333988657050331 /PKGBUILD | |
download | aur-fe7c91f09130780d6a4a2d734ba7c7d09f28b507.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..35c3cac545b0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Christian Babeux <christian.babeux@0x80.ca> + +pkgname=lttng-ust-git +_gitname="lttng-ust" +pkgver=2.7.0.rc1.28.g0dafcd6 +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') +makedepends=('git') +provides=('lttng-ust') +conflicts=('lttng-ust') +optdepends=('babeltrace') +options=('!libtool') +install='lttng-ust-git.install' +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 +} |