From a110e74fe4a31aebb09e0da6e407af69ed996837 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 6 Feb 2013 00:13:53 -0800 Subject: Wed Feb 6 00:13:53 PST 2013 --- community/linux-tools/PKGBUILD | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'community/linux-tools/PKGBUILD') diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index a8d585b1a..0a90be013 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -1,10 +1,15 @@ -# $Id: PKGBUILD 82938 2013-01-25 23:54:11Z seblu $ -# Maintainer: Sébastien Luttringer +# $Id: PKGBUILD 83836 2013-02-05 15:22:21Z seblu $ +# Maintainer: Sébastien Luttringer pkgbase=linux-tools -pkgname=('libtraceevent' 'perf' 'cpupower' 'x86_energy_perf_policy' 'usbip') +pkgname=('linux-tools-meta' + 'libtraceevent' + 'perf' + 'cpupower' + 'x86_energy_perf_policy' + 'usbip') pkgver=3.7 -pkgrel=5 +pkgrel=7 license=('GPL2') arch=('i686' 'x86_64') url='http://www.kernel.org' @@ -20,13 +25,13 @@ makedepends+=('pciutils') makedepends+=('glib2' 'sysfsutils') groups=("$pkgbase") source=("http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz" - "http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.1.xz" + "http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.6.xz" 'cpupower.default' 'cpupower.systemd' 'cpupower.service' 'usbipd.service') md5sums=('21223369d682bcf44bcdfe1521095983' - '48f5f530b048e387e978e3e49de7742a' + 'ec61c44f37585a768d41c0439101ef9c' '56883c159381ba89e50ab8ea65efec77' '7e0710c2f31c1eb1e1417a7972e676b1' '2450e8ff41b30eb58d43b5fffbfde1f4' @@ -78,6 +83,12 @@ build() { popd } +package_linux-tools-meta() { + pkgdesc='Linux kernel tools meta package' + groups=() + depends=('libtraceevent' 'perf' 'cpupower' 'x86_energy_perf_policy' 'usbip') +} + package_libtraceevent() { pkgdesc='Linux kernel trace event library' depends=('glibc') @@ -100,6 +111,10 @@ package_perf() { NO_GTK2=1 \ PERF_VERSION=$pkgver-$pkgrel \ install install-man + # move completion in new directory + cd "$pkgdir" + install -Dm644 usr/etc/bash_completion.d/perf usr/share/bash-completion/perf + rm -r usr/etc } package_cpupower() { -- cgit v1.2.3-54-g00ecf