adopting trace-cmd-git
This commit is contained in:
parent
af14ccb52e
commit
18c7759236
1 changed files with 37 additions and 0 deletions
37
trace-cmd-git/PKGBUILD
Normal file
37
trace-cmd-git/PKGBUILD
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
# 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
|
||||
}
|
||||
Reference in a new issue