diff options
Diffstat (limited to 'community/linux-tools/PKGBUILD')
-rw-r--r-- | community/linux-tools/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/community/linux-tools/PKGBUILD b/community/linux-tools/PKGBUILD index bbf7b14d2..c7e58b150 100644 --- a/community/linux-tools/PKGBUILD +++ b/community/linux-tools/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 68213 2012-03-19 11:50:40Z seblu $ +# $Id: PKGBUILD 69068 2012-04-08 22:52:23Z seblu $ # Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org> pkgbase=linux-tools @@ -6,7 +6,7 @@ pkgname=('perf' 'cpupower') pkgver=3.3 kernver=${pkgver} [[ ${kernver##*rc} != $kernver ]] && testing='testing' -pkgrel=1 +pkgrel=2 license=('GPL2') arch=('i686' 'x86_64') url='http://www.kernel.org' @@ -51,18 +51,18 @@ package_cpupower() { depends=('pciutils') conflicts=('cpufrequtils') - # 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 \ DESTDIR="$pkgdir" \ - INSTALL='/bin/install -c' \ mandir='/usr/share/man' \ docdir='/usr/share/doc/cpupower' \ install install-man + # install rc.d script + cd "$srcdir" + 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/usr/lib/systemd/system/cpupower.service" + } # vim:set ts=2 sw=2 ft=sh et: |