diff options
author | root <root@rshg054.dnsready.net> | 2012-01-15 23:14:56 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-15 23:14:56 +0000 |
commit | 0b31296d95d2e0f18abf69f30d0946e3a1f35672 (patch) | |
tree | d7348183933db628f7b6be4d50c4c763c50cd71e /community/linux-tools/PKGBUILD | |
parent | 2d4aa7f882dac8abb34e973655326c93f584f31f (diff) |
Sun Jan 15 23:14:55 UTC 2012
Diffstat (limited to 'community/linux-tools/PKGBUILD')
-rw-r--r-- | community/linux-tools/PKGBUILD | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index 345d8f9ad..026c0aa1d 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 61664 2012-01-06 00:12:09Z seblu $ -# Maintainer: Sebastien Luttringer <seblu+arch@seblu.net> +# $Id: PKGBUILD 62053 2012-01-15 02:27:29Z seblu $ +# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> pkgbase=linux-tools pkgname=('perf' 'cpupower') pkgver=3.2 -kernver=${pkgver} +kernver=${pkgver}.1 [[ ${kernver##*rc} != $kernver ]] && testing='testing' -pkgrel=1 +pkgrel=2 license=('GPL2') arch=('i686' 'x86_64') url='http://www.kernel.org' @@ -16,16 +16,18 @@ makedepends=('asciidoc' 'xmlto') makedepends+=('python2' 'libnewt' 'elfutils' 'pciutils') source=("http://ftp.kernel.org/pub/linux/kernel/v3.0/$testing/linux-$kernver.tar.xz" 'cpupower.rc' - 'cpupower.conf') -md5sums=('364066fa18767ec0ae5f4e4abcf9dc51' - 'd8b119eff7dc1a2d655eb71a47fa6215' - '218fd36a7957d3170ed8bd1a0be1f62f') + 'cpupower.conf' + 'cpupower.service') +md5sums=('cd2f8b7752c85c337af809391f4afb94' + '26af384ca282bc0dc38ff65acc7bb4b9' + '857ccdd0598511e3bf4b63522754dc48' + '20870541e88109d2f153be3c58a277f1') build() { msg2 'Build perf' cd linux-$kernver/tools/perf - make PYTHON=python2 DESTDIR="${pkgdir}/usr" perfexecdir="lib/$pkgname" PERF_VERSION=$pkgver-$pkgrel \ - all man + make PYTHON=python2 DESTDIR="${pkgdir}/usr" perfexecdir="lib/$pkgname" \ + PERF_VERSION=$pkgver-$pkgrel all man msg2 'Build cpupower' # we cannot use --as-needed @@ -39,8 +41,8 @@ package_perf() { depends=('python2' 'libnewt' 'elfutils') cd linux-${kernver}/tools/perf - make PYTHON=python2 DESTDIR="${pkgdir}/usr" perfexecdir="lib/$pkgname" PERF_VERSION=$pkgver \ - install install-man + make PYTHON=python2 DESTDIR="${pkgdir}/usr" perfexecdir="lib/$pkgname" \ + PERF_VERSION=$pkgver install install-man } package_cpupower() { @@ -52,6 +54,7 @@ package_cpupower() { # install rc.d script install -D -m 755 cpupower.rc "$pkgdir/etc/rc.d/cpupower" install -D -m 644 cpupower.conf "$pkgdir/etc/conf.d/cpupower" + install -D -m 644 cpupower.service "$pkgdir/lib/systemd/system/cpupower.service" cd linux-$kernver/tools/power/cpupower make \ |