community/linux-tools to 4.19-1

This commit is contained in:
Kevin Mihelich 2018-10-26 12:23:53 +00:00
parent 208e21843a
commit 0837e809c3

View file

@ -1,4 +1,3 @@
# $Id$
# Maintainer: Sébastien Luttringer # Maintainer: Sébastien Luttringer
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
@ -20,7 +19,7 @@ pkgname=(
'gpio-utils' 'gpio-utils'
'iio-utils' 'iio-utils'
) )
pkgver=4.18 pkgver=4.19
pkgrel=1 pkgrel=1
license=('GPL2') license=('GPL2')
arch=('x86_64') arch=('x86_64')
@ -31,7 +30,7 @@ makedepends=('git')
# kernel source deps # kernel source deps
makedepends+=('asciidoc' 'xmlto') makedepends+=('asciidoc' 'xmlto')
# perf deps # perf deps
makedepends+=('perl' 'python2' 'slang' 'elfutils' 'libunwind' 'audit' 'gtk2') makedepends+=('perl' 'python' 'slang' 'elfutils' 'libunwind' 'audit' 'gtk2')
# cpupower deps # cpupower deps
makedepends+=('pciutils') makedepends+=('pciutils')
# usbip deps # usbip deps
@ -81,8 +80,8 @@ build() {
lib=lib/perf \ lib=lib/perf \
perfexecdir=lib/perf \ perfexecdir=lib/perf \
NO_SDT=1 \ NO_SDT=1 \
PYTHON=python2 \ PYTHON=python \
PYTHON_CONFIG=python2-config \ PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \ PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" \ DESTDIR="$pkgdir" \
all man all man
@ -154,8 +153,8 @@ package_libtraceevent() {
package_perf() { package_perf() {
pkgdesc='Linux kernel performance auditing tool' pkgdesc='Linux kernel performance auditing tool'
depends=('perl' 'python2' 'slang' 'elfutils' 'libunwind' 'binutils' depends=('glibc' 'perl' 'python' 'slang' 'elfutils' 'libunwind' 'binutils'
'audit') 'audit' 'coreutils' 'glib2' 'xz' 'zlib' 'libelf' 'bash')
optdepends=('gtk2: support GTK2 browser for perf report') optdepends=('gtk2: support GTK2 browser for perf report')
cd linux-$pkgver/tools/perf cd linux-$pkgver/tools/perf
@ -164,8 +163,8 @@ package_perf() {
lib=lib/perf \ lib=lib/perf \
perfexecdir=lib/perf \ perfexecdir=lib/perf \
NO_SDT=1 \ NO_SDT=1 \
PYTHON=python2 \ PYTHON=python \
PYTHON_CONFIG=python2-config \ PYTHON_CONFIG=python-config \
PERF_VERSION=$pkgver-$pkgrel \ PERF_VERSION=$pkgver-$pkgrel \
DESTDIR="$pkgdir" \ DESTDIR="$pkgdir" \
install install-man install install-man
@ -183,7 +182,7 @@ package_perf() {
package_cpupower() { package_cpupower() {
pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor' pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor'
backup=('etc/default/cpupower') backup=('etc/default/cpupower')
depends=('bash' 'pciutils') depends=('glibc' 'bash' 'pciutils')
conflicts=('cpufrequtils') conflicts=('cpufrequtils')
replaces=('cpufrequtils') replaces=('cpufrequtils')
install=cpupower.install install=cpupower.install
@ -205,7 +204,7 @@ package_cpupower() {
package_usbip() { package_usbip() {
pkgdesc='An USB device sharing system over IP network' pkgdesc='An USB device sharing system over IP network'
depends=('glib2' 'sysfsutils' 'libsystemd') depends=('glibc' 'glib2' 'sysfsutils' 'libsystemd')
pushd linux-$pkgver/tools/usb/usbip pushd linux-$pkgver/tools/usb/usbip
make install DESTDIR="$pkgdir" make install DESTDIR="$pkgdir"