trace-cmd: fix license and bash-completion locations
This commit is contained in:
parent
983f0a97e3
commit
45ae635f08
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'trace-cmd'
|
||||
pkgname=trace-cmd
|
||||
version=2.7
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="${pkgname}-v${version}"
|
||||
build_style=gnu-makefile
|
||||
make_build_args="all gui doc"
|
||||
|
@ -10,7 +10,7 @@ hostmakedepends="git asciidoc pkg-config"
|
|||
makedepends="gtk+-devel libxml2-devel"
|
||||
short_desc="Tools to use ftrace Linux kernel internal tracer"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-2, LGPL-2.1"
|
||||
license="GPL-2.0-or-later, LGPL-2.1-only"
|
||||
homepage="http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git/"
|
||||
distfiles="http://git.kernel.org/cgit/linux/kernel/git/rostedt/${pkgname}.git/snapshot/${pkgname}-v${version}.tar.gz"
|
||||
checksum=5c3b03c701d124c36b127fd73909725e673105df0d39048a7b78ddf209ea15fb
|
||||
|
@ -19,6 +19,11 @@ post_extract() {
|
|||
sed -i '1i#include <limits.h>' trace-listen.c
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vmkdir usr/share/bash-completion/completions
|
||||
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
|
||||
}
|
||||
|
||||
kernelshark_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc="GUI for ftrace Linux kernel internal tracer"
|
||||
|
|
Loading…
Reference in a new issue