Date: Wednesday, August 4, 2021 @ 16:42:51 Author: anatolik Revision: 993727
upgpkg: crash 7.3.0-1 Modified: crash/trunk/PKGBUILD ----------+ PKGBUILD | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-08-04 16:41:08 UTC (rev 993726) +++ PKGBUILD 2021-08-04 16:42:51 UTC (rev 993727) @@ -4,25 +4,20 @@ # Contributor: Mathieu Pasquet <mathi...@mathieui.net> pkgname=crash -pkgver=7.2.8 +pkgver=7.3.0 pkgrel=1 pkgdesc='Linux kernel crashdump analysis tool' -url='https://people.redhat.com/~anderson' +url='https://crash-utility.github.io/' arch=(x86_64) license=(GPL) depends=(xz ncurses zlib) -source=(https://people.redhat.com/~anderson/crash-$pkgver.tar.gz) -sha256sums=('19abe7fcb6a392f8d741315993e3d8b1a8ea799e9ddb433f12f6db4c59e45751') +makedepends=(wget) +source=(crash-$pkgver.tar.gz::https://github.com/crash-utility/crash/archive/refs/tags/$pkgver.tar.gz) +sha256sums=('98d4367ae0ea7d2eda547357a839f7bddee517b588b281574d58a15a418af5b9') -prepare() { - cd crash-$pkgver - - make gdb_unzip - sed -i '/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/' gdb-7.6/libiberty/configure -} - build() { cd crash-$pkgver + CPPFLAGS+=' -O2' # to fix https://github.com/crash-utility/crash/issues/87 make }