community/linux-tools to 4.9-2

This commit is contained in:
Kevin Mihelich 2017-02-11 22:11:23 +00:00
parent de571ce37c
commit d2ceb8943d

View file

@ -17,7 +17,7 @@ pkgname=(
'usbip' 'usbip'
) )
pkgver=4.9 pkgver=4.9
pkgrel=1 pkgrel=2
license=('GPL2') license=('GPL2')
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='https://www.kernel.org' url='https://www.kernel.org'
@ -36,12 +36,13 @@ makedepends+=('glib2' 'sysfsutils' 'udev')
makedepends+=('ncurses') makedepends+=('ncurses')
groups=("$pkgbase") groups=("$pkgbase")
source=("https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${pkgver}.tar.xz" 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.default'
'cpupower.systemd' 'cpupower.systemd'
'cpupower.service' 'cpupower.service'
'usbipd.service') 'usbipd.service')
md5sums=('0a68ef3615c64bd5ee54a3320e46667d' md5sums=('0a68ef3615c64bd5ee54a3320e46667d'
'7248f04515b22e23540afab0850ac9a4'
'56883c159381ba89e50ab8ea65efec77' '56883c159381ba89e50ab8ea65efec77'
'34f5ecc19770a1abbcd0fd65bfd1f065' '34f5ecc19770a1abbcd0fd65bfd1f065'
'86c4e419e4ba80835c330d49ba3f56ad' '86c4e419e4ba80835c330d49ba3f56ad'
@ -148,9 +149,12 @@ package_perf() {
DESTDIR="$pkgdir" \ DESTDIR="$pkgdir" \
install install-man install install-man
cd "$pkgdir" 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 # move completion in new directory
install -Dm644 etc/bash_completion.d/perf usr/share/bash-completion/completions/perf 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 # no exec on usr/share
find usr/share -type f -exec chmod a-x {} \; find usr/share -type f -exec chmod a-x {} \;
} }