summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-11 00:01:18 +0000
committerroot <root@rshg054.dnsready.net>2012-04-11 00:01:18 +0000
commit04aff5f70cb7c04abe06ca8eaf8261cbb0eeb378 (patch)
tree4935a4f0959f9560df7fba4989a0de1dc361884e /libre/linux-libre-tools
parent223ca251f3ce07eb5484be845e631d6ca645b263 (diff)
Wed Apr 11 00:01:18 UTC 2012
Diffstat (limited to 'libre/linux-libre-tools')
-rw-r--r--libre/linux-libre-tools/PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD
index e87e9ceb2..d30a61137 100644
--- a/libre/linux-libre-tools/PKGBUILD
+++ b/libre/linux-libre-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=linux-libre-tools
pkgname=('perf-libre' 'cpupower-libre')
pkgver=3.3
kernver=${pkgver}
-pkgrel=1.1
+pkgrel=2
license=('GPL2')
arch=('i686' 'x86_64' 'mips64el')
url='http://linux-libre.fsfla.org/'
@@ -56,18 +56,18 @@ package_cpupower-libre() {
conflicts=('cpupower' 'cpufrequtils')
provides=("cpupower=$pkgver")
- # 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: