summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-tools/PKGBUILD')
-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: