SHARE
TWEET

[AUR] bcc-0.5.0-1 PKGBUILD patch

cmsigler Feb 24th, 2018 261 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- PKGBUILD.orig   2018-02-23 06:59:20.000000000 -0500
  2. +++ PKGBUILD    2018-02-24 12:11:10.413947263 -0500
  3. @@ -14,7 +14,7 @@
  4.  source=("https://github.com/iovisor/${pkgname}/archive/v${pkgver}.tar.gz"
  5.     'fix_build_issue_for_llvm_5.0.1.patch::https://github.com/iovisor/bcc/commit/bd7fa55bb39b8978dafd0b299e35616061e0a368.patch')
  6.  sha512sums=('12de5ef04185dccd0847fc97ae855b386e0c81b545ae497af797667925ebedf97164c17fb99468abae3f87fb3ddfdba5200070f80b3bbcad63c2355497012f0e'
  7. -            '1c4a453a0663237b1ebebd4fdc60e7f6add8380bf624cfa6dd28e57a73d6db89b0a562c8bcaa788d8d59f69240b574b123d07e1eeb63da3a255d3b5e40c6221b')
  8. +            'f518f32584b1f828af5df00972c33e6efc7f4327fd65505156e6dec96e4e2f6e7fafb50fb0855693d586223dce4f6cbf7db34ae252358636decc5dbe7f6121a7')
  9.  
  10.  prepare() {
  11.     cd "${srcdir}/${pkgbase}-${pkgver}"
  12. @@ -69,6 +69,10 @@
  13.  
  14.     cd "${srcdir}/${pkgbase}-${pkgver}/build/man"
  15.     make DESTDIR="${pkgdir}" install
  16. +
  17. +   # Stupidly rename man page that clashes with trace(8) from extra/postfix
  18. +   mv -f "${pkgdir}"/usr/share/bcc/man/man8/trace.8 "${pkgdir}"/usr/share/bcc/man/man8/trace-bcc.8
  19. +
  20.     mv "${pkgdir}"/usr/share/{bcc/man,}
  21.  }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top