[arch-commits] Commit in linux-tools/trunk (PKGBUILD)

Sébastien Luttringer seblu at archlinux.org
Sat Feb 11 21:05:36 UTC 2017


    Date: Saturday, February 11, 2017 @ 21:05:35
  Author: seblu
Revision: 211914

upgpkg: linux-tools 4.9-2

- fix FS#52883

Modified:
  linux-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-11 20:56:26 UTC (rev 211913)
+++ PKGBUILD	2017-02-11 21:05:35 UTC (rev 211914)
@@ -14,7 +14,7 @@
   'x86_energy_perf_policy'
 )
 pkgver=4.9
-pkgrel=1
+pkgrel=2
 license=('GPL2')
 arch=('i686' 'x86_64')
 url='https://www.kernel.org'
@@ -33,12 +33,13 @@
 makedepends+=('ncurses')
 groups=("$pkgbase")
 source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v$pkgver"
-        #'https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.7.5.xz'
+        'https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-4.9.9.xz'
         'cpupower.default'
         'cpupower.systemd'
         'cpupower.service'
         'usbipd.service')
 md5sums=('SKIP'
+         '7248f04515b22e23540afab0850ac9a4'
          '56883c159381ba89e50ab8ea65efec77'
          '34f5ecc19770a1abbcd0fd65bfd1f065'
          '86c4e419e4ba80835c330d49ba3f56ad'
@@ -158,9 +159,12 @@
     DESTDIR="$pkgdir" \
     install install-man
   cd "$pkgdir"
+  # add linker search path
+  mkdir "$pkgdir/etc/ld.so.conf.d"
+  echo '/usr/lib/perf' > "$pkgdir/etc/ld.so.conf.d/$pkgname.conf"
   # move completion in new directory
   install -Dm644 etc/bash_completion.d/perf usr/share/bash-completion/completions/perf
-  rm -r etc
+  rm -r etc/bash_completion.d
   # no exec on usr/share
   find usr/share -type f -exec chmod a-x {} \;
 }



More information about the arch-commits mailing list