Date: Friday, February 21, 2014 @ 18:45:42 Author: anatolik Revision: 106046
archrelease: copy trunk to community-i686, community-x86_64 Added: crash/repos/community-i686/ crash/repos/community-i686/PKGBUILD (from rev 106045, crash/trunk/PKGBUILD) crash/repos/community-x86_64/ crash/repos/community-x86_64/PKGBUILD (from rev 106045, crash/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) Copied: crash/repos/community-i686/PKGBUILD (from rev 106045, crash/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-02-21 17:45:42 UTC (rev 106046) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> +# Contributor: Bernhard Walle <bernhard.wa...@gmx.de> +# Contributor: Michael Eckert <michael.eck...@linuxmail.org> +# Contributor: Mathieu Pasquet <mathi...@mathieui.net> + +pkgname=crash +pkgver=7.0.5 +pkgrel=1 +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/ +} Copied: crash/repos/community-x86_64/PKGBUILD (from rev 106045, crash/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-02-21 17:45:42 UTC (rev 106046) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> +# Contributor: Bernhard Walle <bernhard.wa...@gmx.de> +# Contributor: Michael Eckert <michael.eck...@linuxmail.org> +# Contributor: Mathieu Pasquet <mathi...@mathieui.net> + +pkgname=crash +pkgver=7.0.5 +pkgrel=1 +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/ +}