summaryrefslogtreecommitdiff
path: root/community/linux-tools/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-25 00:06:28 -0800
committerroot <root@rshg054.dnsready.net>2013-01-25 00:06:28 -0800
commitef71629a65f6e8052d66775f07b079bf08322476 (patch)
treeedd2ad98fa5697fc7a95e3eed0a8902656e55fde /community/linux-tools/PKGBUILD
parent570e3637e2a4ba372dabbbbb8953d7b4ccdcaa39 (diff)
Fri Jan 25 00:06:28 PST 2013
Diffstat (limited to 'community/linux-tools/PKGBUILD')
-rw-r--r--community/linux-tools/PKGBUILD29
1 files changed, 10 insertions, 19 deletions
diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD
index 47e98a72f..469f475a4 100644
--- a/community/linux-tools/PKGBUILD
+++ b/community/linux-tools/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 81357 2012-12-18 14:01:44Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# $Id: PKGBUILD 82779 2013-01-24 12:23:58Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
pkgbase=linux-tools
pkgname=('libtraceevent' 'perf' 'cpupower' 'x86_energy_perf_policy' 'usbip')
pkgver=3.7
-pkgrel=3
+pkgrel=4
license=('GPL2')
arch=('i686' 'x86_64')
url='http://www.kernel.org'
@@ -21,22 +21,16 @@ makedepends+=('glib2' 'sysfsutils')
groups=("$pkgbase")
source=("http://ftp.kernel.org/pub/linux/kernel/v3.x/linux-$pkgver.tar.xz"
"http://ftp.kernel.org/pub/linux/kernel/v3.x/patch-$pkgver.1.xz"
- 'cpupower.conf'
- 'cpupower.rc'
+ 'cpupower.default'
'cpupower.systemd'
'cpupower.service'
- 'usbipd.conf'
- 'usbipd.rc'
'usbipd.service')
md5sums=('21223369d682bcf44bcdfe1521095983'
'48f5f530b048e387e978e3e49de7742a'
'56883c159381ba89e50ab8ea65efec77'
- '5fc1fcda4cef93f16e752b1931db23e3'
- 'c0d17b5295fe964623c772a2dd981771'
+ '7e0710c2f31c1eb1e1417a7972e676b1'
'2450e8ff41b30eb58d43b5fffbfde1f4'
- 'e8fac9c45a628015644b4150b139278a'
- '8a3831d962ff6a9968c0c20fd601cdec'
- 'ba7c1c513314dd21fb2334fb8417738f')
+ 'a8fb0c6159bee1b9e345a87cabb3ba27')
build() {
# apply stable patching set
@@ -95,7 +89,7 @@ package_libtraceevent() {
package_perf() {
pkgdesc='Linux kernel performance auditing tool'
- depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind')
+ depends=('perl' 'python2' 'libnewt' 'elfutils' 'audit' 'libunwind' 'binutils')
cd linux-$pkgver/tools/perf
make \
@@ -110,7 +104,7 @@ package_perf() {
package_cpupower() {
pkgdesc='Linux kernel tool to examine and tune power saving related features of your processor'
- backup=('etc/conf.d/cpupower')
+ backup=('etc/default/cpupower')
depends=('bash' 'pciutils')
conflicts=('cpufrequtils')
replaces=('cpufrequtils')
@@ -123,8 +117,7 @@ package_cpupower() {
install install-man
popd
# install startup scripts
- install -Dm 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname"
- install -Dm 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname"
+ install -Dm 644 $pkgname.default "$pkgdir/etc/default/$pkgname"
install -Dm 644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
install -Dm 755 $pkgname.systemd "$pkgdir/usr/lib/systemd/scripts/$pkgname"
}
@@ -149,9 +142,7 @@ package_usbip() {
# module loading
install -Dm 644 /dev/null "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
printf 'usbip-core\nusbip-host\n' > "$pkgdir/usr/lib/modules-load.d/$pkgname.conf"
- # install daemon scripts
- install -Dm 755 usbipd.rc "$pkgdir/etc/rc.d/usbipd"
- install -Dm 644 usbipd.conf "$pkgdir/etc/conf.d/usbipd"
+ # systemd
install -Dm 644 usbipd.service "$pkgdir/usr/lib/systemd/system/usbipd.service"
}