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

27 lines
929 B
Bash

# Current Maintainer: Troy Engel <troyengel+arch@gmail.com>
pkgname=trace-cmd
pkgver=2.5.1
pkgrel=3
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")
sha256sums=("2cfb4470d20c05bc58431294464da3b7a88d3011f35a847dd25c40052eb2893a")
build() {
cd "${srcdir}/${pkgname}-v${pkgver}"
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
}