Permalink
Browse files

trace-cmd: fix license and bash-completion locations

  • Loading branch information...
maxice8 committed Dec 6, 2018
1 parent 983f0a9 commit 45ae635f08701799b3a35e3cc941bcd7db26a0bb
Showing with 7 additions and 2 deletions.
  1. +7 −2 srcpkgs/trace-cmd/template
@@ -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"

0 comments on commit 45ae635

Please sign in to comment.