mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/linux-tools to 3.7-5
This commit is contained in:
parent
e83e2707c7
commit
e6c1f2962f
2 changed files with 15 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
pkgbase=linux-tools
|
pkgbase=linux-tools
|
||||||
pkgname=('libtraceevent' 'perf' 'cpupower' 'usbip')
|
pkgname=('libtraceevent' 'perf' 'cpupower' 'usbip')
|
||||||
pkgver=3.7
|
pkgver=3.7
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url='http://www.kernel.org'
|
url='http://www.kernel.org'
|
||||||
|
@ -112,6 +112,7 @@ package_cpupower() {
|
||||||
depends=('bash' 'pciutils')
|
depends=('bash' 'pciutils')
|
||||||
conflicts=('cpufrequtils')
|
conflicts=('cpufrequtils')
|
||||||
replaces=('cpufrequtils')
|
replaces=('cpufrequtils')
|
||||||
|
install=cpupower.install
|
||||||
|
|
||||||
pushd linux-$pkgver/tools/power/cpupower
|
pushd linux-$pkgver/tools/power/cpupower
|
||||||
make \
|
make \
|
||||||
|
|
13
community/linux-tools/cpupower.install
Normal file
13
community/linux-tools/cpupower.install
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# arg 1: the new package version
|
||||||
|
# arg 2: the old package version
|
||||||
|
post_upgrade() {
|
||||||
|
if [ "$(vercmp $2 3.7-4)" -le 0 ]; then
|
||||||
|
cat << EOF
|
||||||
|
===> cpupower startup config file moved to /etc/default/cpupower
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 ft=sh et:
|
Loading…
Reference in a new issue