This repository has been archived on 2024-03-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
archbuild/trace-cmd/PKGBUILD

30 lines
1.1 KiB
Bash

# Current Maintainer: Troy Engel <troyengel+arch@gmail.com>
pkgname=trace-cmd
pkgver=2.5.2
pkgrel=2
pkgdesc="user-space front-end command-line tool for Ftrace, inclduing the GUI interface application kernelshark as well as trace-graph and trace-view."
arch=('i686' 'x86_64')
url="http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git"
license=('GPL2')
depends=('python2' 'gtk2')
makedepends=('pygtk' 'swig' 'docbook-xsl' 'asciidoc')
provides=('trace-cmd')
conflicts=('trace-cmd-git')
source=("http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git/snapshot/trace-cmd-v${pkgver}.tar.gz"
"Makefile-2.5.2-hooks.patch")
sha256sums=('24eedc143bb9716fecac9479d7a2559cc6a35856901b73f94bd7ec3b49a03533'
'6bbfecf43d9464abc3f3976959f28924f11aca2d51855597b4c881e2f5744402')
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
patch -p1 < "${srcdir}/Makefile-2.5.2-hooks.patch"
make PYTHON_VERS=python2 all gui doc
}
package() {
cd "${srcdir}/${pkgname}-v${pkgver}"
make PYTHON_VERS=python2 prefix="/usr" DESTDIR="$pkgdir" install install_gui install_doc
}