community/linux-tools to 5.4-1

This commit is contained in:
Kevin Mihelich 2019-12-02 13:43:28 +00:00
parent 79885e6734
commit 90960900e5

View file

@ -21,8 +21,8 @@ pkgname=(
'gpio-utils'
'iio-utils'
)
pkgver=5.3
pkgrel=2
pkgver=5.4
pkgrel=1
license=('GPL2')
arch=('x86_64')
url='https://www.kernel.org'
@ -43,7 +43,7 @@ makedepends+=('ncurses')
makedepends+=('python-docutils')
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-$pkgver.1.xz"
"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$pkgver.1.xz"
'0001-perf-fix-debug-printf-for-32-bit.patch'
'cpupower.default'
'cpupower.systemd'
@ -52,15 +52,16 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${pkgver}.tar.xz"
'hv_fcopy_daemon.service'
'hv_kvp_daemon.service'
'hv_vss_daemon.service')
md5sums=('c99feaade8047339528fb066ec5f8a49'
'8533ebc2c4ff61269cb37f6f28eb9705'
'56883c159381ba89e50ab8ea65efec77'
'34f5ecc19770a1abbcd0fd65bfd1f065'
'86c4e419e4ba80835c330d49ba3f56ad'
'bb35634f480325a78b943f7e10165e86'
'4295fa68fcc26865030075bb59e9214c'
'340c26526370a07daef713a7a48918d5'
'436df78f98a765efccd9e224bdbdc2a5')
sha256sums=('bf338980b1670bca287f9994b7441c2361907635879169c64ae78364efc5f491'
'78f08a9d16bc88f1478c560bd9a3a71be6e2af1bbd5f6ff60771fa1e14b74705'
'8dce2b1e5dec90473677adf289c50745daaa059b9f61487d0bc857b16fdef5ae'
'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f'
'd2e8e5e8b22c6089a91f573aa1c59e442a1f3b67a2c9f047abe3b57d3d6558cc'
'fa2560630576464739ede14c9292249f4007f36a684bc378add174fc88394550'
'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f'
'16855c197d2334f820cb190312a5a7fffe9165189db01344a957e582e39e17d8'
'b1315cb77a35454e1af9172f821a52e2a0cb18561be05a340d21cf337b01ae61'
'2d5e2f8d40b6f19bf2e1dead57ca105d72098fb0b418c09ff2e0cb91089710af')
prepare() {
cd linux-$pkgver
@ -95,8 +96,7 @@ build() {
PYTHON=python \
PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" \
all man
DESTDIR="$pkgdir"
popd
msg2 'cpupower'
@ -125,7 +125,7 @@ build() {
msg2 'hv'
pushd linux-$pkgver/tools/hv
CFLAGS+=' -DKVP_SCRIPTS_PATH=/usr/lib/hyperv/kvp_scripts/' make
CFLAGS+=' -DKVP_SCRIPTS_PATH=\"/usr/lib/hyperv/kvp_scripts/\"' make
popd
msg2 'gpio'
@ -190,7 +190,7 @@ package_perf() {
PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" \
install install-man
install
cd "$pkgdir"
# add linker search path
mkdir "$pkgdir/etc/ld.so.conf.d"
@ -302,7 +302,7 @@ package_bpf() {
mv "$pkgdir"/usr/sbin/bpftool "$pkgdir"/usr/bin/bpftool
rmdir "$pkgdir"/usr/sbin
# install man pages
make -C bpftool doc-install prefix=/usr DESTDIR="$pkgdir"
make -C bpftool doc-install prefix=/usr/share DESTDIR="$pkgdir"
}
# vim:set ts=2 sw=2 et: