summaryrefslogtreecommitdiff
path: root/community/linux-tools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-06 00:13:53 -0800
committerroot <root@rshg054.dnsready.net>2013-02-06 00:13:53 -0800
commita110e74fe4a31aebb09e0da6e407af69ed996837 (patch)
treefb216f25351912a4f4cdfcccf8daf041d17cb921 /community/linux-tools
parentb91dca65217b7c35be84df053692c9fd1b012560 (diff)
Wed Feb 6 00:13:53 PST 2013
Diffstat (limited to 'community/linux-tools')
-rw-r--r--community/linux-tools/PKGBUILD27
1 files changed, 21 insertions, 6 deletions
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 <seblu@archlinux.org>
+# $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() {