mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/linux-tools to 4.9-2
This commit is contained in:
parent
de571ce37c
commit
d2ceb8943d
1 changed files with 7 additions and 3 deletions
|
@ -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 {} \;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue