From d2ceb8943db52c9426d6b819c456f7fe2a7946f9 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 11 Feb 2017 22:11:23 +0000 Subject: [PATCH] community/linux-tools to 4.9-2 --- community/linux-tools/PKGBUILD | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index 2773bde27..fa9a2e6ef 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -17,7 +17,7 @@ pkgname=( 'usbip' ) pkgver=4.9 -pkgrel=1 +pkgrel=2 license=('GPL2') arch=('i686' 'x86_64') url='https://www.kernel.org' @@ -36,12 +36,13 @@ makedepends+=('glib2' 'sysfsutils' 'udev') makedepends+=('ncurses') groups=("$pkgbase") source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz" - #'https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.7.5.xz' + 'https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.9.9.xz' 'cpupower.default' 'cpupower.systemd' 'cpupower.service' 'usbipd.service') md5sums=('0a68ef3615c64bd5ee54a3320e46667d' + '7248f04515b22e23540afab0850ac9a4' '56883c159381ba89e50ab8ea65efec77' '34f5ecc19770a1abbcd0fd65bfd1f065' '86c4e419e4ba80835c330d49ba3f56ad' @@ -148,9 +149,12 @@ package_perf() { DESTDIR="$pkgdir" \ install install-man cd "$pkgdir" + # add linker search path + mkdir "$pkgdir/etc/ld.so.conf.d" + echo '/usr/lib/perf' > "$pkgdir/etc/ld.so.conf.d/$pkgname.conf" # move completion in new directory install -Dm644 etc/bash_completion.d/perf usr/share/bash-completion/completions/perf - rm -r etc + rm -r etc/bash_completion.d # no exec on usr/share find usr/share -type f -exec chmod a-x {} \; }