From 22f607ed37b72580f1e192e7f79637f799ee38ea Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 15 Jul 2019 00:48:37 +0000 Subject: [PATCH] community/linux-tools to 5.2-1 --- community/linux-tools/PKGBUILD | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index 879109f24..19e26f578 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -15,13 +15,14 @@ pkgname=( 'libtraceevent' 'linux-tools-meta' 'perf' +# 'python-perf' 'tmon' 'usbip' 'gpio-utils' 'iio-utils' ) -pkgver=5.1 -pkgrel=3 +pkgver=5.2 +pkgrel=1 license=('GPL2') arch=('x86_64') url='https://www.kernel.org' @@ -40,12 +41,13 @@ makedepends+=('glib2' 'sysfsutils' 'udev') makedepends+=('ncurses') groups=("$pkgbase") source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${pkgver}.tar.xz" -# 'https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-4.12.2.xz' + "https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz" 'cpupower.default' 'cpupower.systemd' 'cpupower.service' 'usbipd.service') -md5sums=('7381ce8aac80a01448e065ce795c19c0' +md5sums=('ddf994de00d7b18395886dd9b30b9262' + 'a45be902d46625f7b554f17bab3686f0' '56883c159381ba89e50ab8ea65efec77' '34f5ecc19770a1abbcd0fd65bfd1f065' '86c4e419e4ba80835c330d49ba3f56ad' @@ -95,6 +97,8 @@ build() { msg2 'usbip' pushd linux-$pkgver/tools/usb/usbip + # Fix gcc compilation + sed -i 's,-Wall -Werror -Wextra,,' configure.ac ./autogen.sh ./configure --prefix=/usr --sbindir=/usr/bin make @@ -145,6 +149,7 @@ package_linux-tools-meta() { 'hyperv' 'libtraceevent' 'perf' +# 'python-perf' 'tmon' 'usbip' ) @@ -190,6 +195,15 @@ package_perf() { find usr/share -type f -exec chmod a-x {} \; } +#package_python-perf(){ +# pkgdesc='Linux kernel performance auditing tool (python bindings)' +# depends=('python') +# +# cd linux/tools/perf +# +# make install-python_ext PYTHON=python DESTDIR="$pkgdir" +#} + package_cpupower() { pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor' backup=('etc/default/cpupower')