diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-22 03:50:02 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-22 03:50:02 +0000 |
commit | d681aef185938981d5b5eb582d09fbc49927cf24 (patch) | |
tree | adbebafcefcedb7b35b765eb8bc451eac8482d32 /community/crash | |
parent | 96cf9235f114b8d960c16a8625937b16979ae1aa (diff) |
Sat Feb 22 03:44:10 UTC 2014
Diffstat (limited to 'community/crash')
-rw-r--r-- | community/crash/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/crash/PKGBUILD b/community/crash/PKGBUILD new file mode 100644 index 000000000..850df9fe9 --- /dev/null +++ b/community/crash/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 106055 2014-02-21 18:36:18Z anatolik $ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> +# Contributor: Bernhard Walle <bernhard.walle@gmx.de> +# Contributor: Michael Eckert <michael.eckert@linuxmail.org> +# Contributor: Mathieu Pasquet <mathieui@mathieui.net> + +pkgname=crash +pkgver=7.0.5 +pkgrel=2 +pkgdesc='Linux kernel crashdump analysis tool' +url='http://people.redhat.com/~anderson' +arch=(i686 x86_64) +license=(GPL) +depends=(xz ncurses zlib) +source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz) +sha256sums=('d5c5b2c8a5dc1e85d38d847cdfea1aa37a58ad38711bc3727c28f22618bfe64c') + +prepare() { + cd crash-$pkgver + make gdb_unzip + sed -i '/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/' gdb-7.6/libiberty/configure +} + +build() { + cd crash-$pkgver + make +} + +package() { + cd crash-$pkgver + + mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man8 + install crash "$pkgdir"/usr/bin/ + install crash.8 "$pkgdir"/usr/share/man/man8/ +} |