Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

crash.PKGBUILD

By: a guest on Apr 13th, 2013  |  syntax: Bash  |  size: 0.84 KB  |  views: 44  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Mathieu Pasquet <mathieui@mathieui.net>
  2. # Contributor: Bernhard Walle <bernhard.walle@gmx.de>
  3. # Contributor: Michael Eckert <michael.eckert@linuxmail.org>
  4. pkgname=crash
  5. pkgver=6.1.6
  6. pkgrel=2
  7. pkgdesc="Linux kernel crashdump analysis tool"
  8. license=('GPL')
  9. makedepends=('flex' 'bison' 'zlib' 'ncurses')
  10. arch=('i686' 'x86_64')
  11. source=(http://people.redhat.com/~anderson/$pkgname-$pkgver.tar.gz)
  12. url="http://people.redhat.com/~anderson"
  13. md5sums=('884544e117f08c370b7ec14812547a0f')
  14.  
  15. build() {
  16.   cd $srcdir/$pkgname-$pkgver
  17.  
  18.   make gdb_unzip
  19.   sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" gdb-7.3.1/libiberty/configure
  20.   make
  21. }
  22.  
  23. package() {
  24.   cd $srcdir/$pkgname-$pkgver
  25.  
  26.   mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man8
  27.   install ${pkgname} ${pkgdir}/usr/bin/
  28.   install ${pkgname}.8 $pkgdir/usr/share/man/man8/
  29. }
clone this paste RAW Paste Data