summaryrefslogtreecommitdiff
path: root/libre/linux-libre-tools/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-12 00:50:28 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-10-12 00:51:52 -0300
commite923e0eacc2450cdd36efefae84e195cc5e4cfe8 (patch)
tree7272a2a450d59e61076eb5834b8b7bd93d79b385 /libre/linux-libre-tools/PKGBUILD
parent7a230a20ce7b2fc091c895a47d17ebcca5d97e2a (diff)
linux-libre-tools-4.8_gnu-1: updating version
Diffstat (limited to 'libre/linux-libre-tools/PKGBUILD')
-rw-r--r--libre/linux-libre-tools/PKGBUILD48
1 files changed, 23 insertions, 25 deletions
diff --git a/libre/linux-libre-tools/PKGBUILD b/libre/linux-libre-tools/PKGBUILD
index 529495d62..35f1c2b41 100644
--- a/libre/linux-libre-tools/PKGBUILD
+++ b/libre/linux-libre-tools/PKGBUILD
@@ -17,7 +17,7 @@ _pkgname=(
)
pkgname=("${pkgbase}-meta" "${_pkgname[@]/#/${pkgbase}-}")
-_pkgbasever=4.7-gnu
+_pkgbasever=4.8-gnu
_pkgver=${_pkgbasever}
_srcname=linux-${_pkgbasever%-*}
@@ -48,16 +48,14 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_pkgbasever}/li
'cpupower.systemd'
'cpupower.service'
'usbipd.service'
- '02-parabola-paths.patch'
- '04-fix-usip-h-path.patch')
-sha256sums=('f483e595e0ad9a9d1b3afd20e4ecb0b798cf16eb31e79a7b99311eb9c061032a'
+ '01-cpupower-governor-fix.patch')
+sha256sums=('d54e0f8a27e24f3666c19b395c19dba194635db26929c89e78ffa4b2b0e8ca3a'
'SKIP'
'4fa509949d6863d001075fa3e8671eff2599c046d20c98bb4a70778595cd1c3f'
- 'fbf6e0ce6eb0ef15703fe212958de6ca46e62188900b5e9f9272ed3cc9cfd54e'
- 'a89284d0ecb556ca53a66d1c2087b5fd6d0a901ab2769cd3aebb93f4478905dc'
+ 'd2e8e5e8b22c6089a91f573aa1c59e442a1f3b67a2c9f047abe3b57d3d6558cc'
+ 'fa2560630576464739ede14c9292249f4007f36a684bc378add174fc88394550'
'2e187734d8aec58a3046d79883510d779aa93fb3ab20bd3132c1a607ebe5498f'
- '91f7d91d4270f207102c469c575dd176c3be7897d78d26057d047db164eaf9ca'
- 'e5543d8d6d3fbc7f8d9d25c428a882737d2e0169455f70cbc3f73076ff33dd5d')
+ '0952a7519d9ccd0254d5f384b9420eb8f7f64da3d13607b57b305ad79d6c2007')
validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
)
@@ -70,8 +68,7 @@ prepare() {
patch -p1 -i "${srcdir}/patch-${_pkgbasever}-${_pkgver}"
fi
- patch -N -p1 -i "$srcdir/02-parabola-paths.patch"
- patch -N -p1 -i "$srcdir/04-fix-usip-h-path.patch"
+ patch -N -p1 -i "$srcdir/01-cpupower-governor-fix.patch"
}
build() {
@@ -82,17 +79,14 @@ build() {
msg2 'perf'
pushd $_srcname/tools/perf
- if [ "$CARCH" = "x86_64" ]; then
- extra='NO_PERF_READ_VDSO32=1'
- fi
- make \
- WERROR=0 \
- DESTDIR="$pkgdir/usr" \
- perfexecdir='lib/perf' \
+ make -f Makefile.perf \
+ prefix=/usr \
+ lib=lib/perf \
+ perfexecdir=lib/perf \
+ NO_SDT=1 \
PYTHON=python2 \
PYTHON_CONFIG=python2-config \
PERF_VERSION=$pkgver-$pkgrel \
- $extra \
all man
popd
@@ -155,18 +149,22 @@ _package_perf() {
optdepends=('gtk2: support GTK2 browser for perf report')
cd $_srcname/tools/perf
- make \
- WERROR=0 \
- DESTDIR="$pkgdir/usr" \
- perfexecdir='lib/perf' \
+ make -f Makefile.perf \
+ prefix=/usr \
+ lib=lib/perf \
+ perfexecdir=lib/perf \
+ NO_SDT=1 \
PYTHON=python2 \
PYTHON_CONFIG=python2-config \
PERF_VERSION=$pkgver-$pkgrel \
+ DESTDIR="$pkgdir" \
install install-man
- # move completion in new directory
cd "$pkgdir"
- install -Dm644 usr/etc/bash_completion.d/perf usr/share/bash-completion/completions/perf
- rm -r usr/etc
+ # move completion in new directory
+ install -Dm644 etc/bash_completion.d/perf usr/share/bash-completion/completions/perf
+ rm -r etc
+ # no exec on usr/share
+ find usr/share -type f -exec chmod a-x {} \;
}
_package_cpupower() {