summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-10 01:25:13 -0300
committerAndré Fabian Silva Delgado <andre@pc-01.localdomain>2012-04-10 01:25:13 -0300
commitd4327a6503d083b7fc28d93dd2b292e37d4877a4 (patch)
tree6ffa3297b64c2d7270794575c1c84324a5455c2a /libre/linux-libre-tools/PKGBUILD
parent1d9d9e30f5ca59cb0bea7726084da1bd1ea9f28f (diff)
updating linux-libre-tools
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: