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-git/PKGBUILD
2024-03-20 08:41:22 -05:00

37 lines
1 KiB
Bash

# Current Maintainer: Troy Engel <troyengel+arch@gmail.com>
# Maintainer: Nikolay Amiantov <nikoamia@gmail.com>
# Maintainer: Netanel Shine <netanel at archlinux.org.il>
pkgname=trace-cmd-git
pkgver=2.4.r4.g293f625
pkgrel=1
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=('git' 'pygtk' 'swig' 'docbook-xsl' 'asciidoc')
source=("git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git")
sha1sums=("SKIP")
pkgver() {
cd "$srcdir/trace-cmd"
git describe --long | sed -r 's/^trace.cmd.v//; s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/trace-cmd"
}
build() {
cd "$srcdir/trace-cmd"
make PYTHON_VERS=python2 all gui doc
}
package() {
cd "${srcdir}/trace-cmd"
make PYTHON_VERS=python2 prefix="/usr" DESTDIR="$pkgdir" install install_gui install_doc
}