Date: Wednesday, February 16, 2022 @ 17:22:10
Author: anatolik
Revision: 1133493
archrelease: copy trunk to community-testing-x86_64
Added:
crash/repos/community-testing-x86_64/
crash/repos/community-testing-x86_64/PKGBUILD
(from rev 1133492, crash/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: crash/repos/community-testing-x86_64/PKGBUILD (from rev 1133492,
crash/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-02-16 17:22:10 UTC (rev 1133493)
@@ -0,0 +1,31 @@
+# Maintainer: Anatol Pomozov <[email protected]>
+# Contributor: Bernhard Walle <[email protected]>
+# Contributor: Michael Eckert <[email protected]>
+# Contributor: Mathieu Pasquet <[email protected]>
+
+pkgname=crash
+pkgver=8.0.0
+pkgrel=2
+pkgdesc='Linux kernel crashdump analysis tool'
+url='https://crash-utility.github.io/'
+arch=(x86_64)
+license=(GPL)
+depends=(xz ncurses zlib libelf guile mpfr)
+makedepends=(wget)
+optdepends=('binutils: offline vmcore loading functionality')
+source=(crash-$pkgver.tar.gz::https://github.com/crash-utility/crash/archive/refs/tags/$pkgver.tar.gz)
+sha256sums=('caab49b7b6d442f60c41360e0ec80cf852dc64e89303b41d704d7661cef43e68')
+
+build() {
+ cd crash-$pkgver
+ CPPFLAGS+=' -O2' # to fix https://github.com/crash-utility/crash/issues/87
+ 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/
+}