View difference between Paste ID: e3w1TDLe and
SHOW: | | - or go back to the newest paste.
1-
1+
# Contributor: Aurelien Cedeyn <aurelien.cedeyn@gmail.com>
2
3
pkgname=crash
4
pkgver=5.1.1
5
pkgrel=1
6
pkgdesc="Crash: Kernel debugging tool"
7
arch=('i686')
8
url="http://people.redhat.com/~anderson/"
9
license=('GPL')
10
makedepends=('flex' 'bison' 'zlib' 'ncurses')
11
source=(http://people.redhat.com/~anderson/crash-$pkgver.tar.gz Makefile)
12
md5sums=(db0719d0392ee30de3ca97b9e0bb1a5e 0cba37bcadf1d84b9e3942a87499968f)
13
14
# We need a custom Makefile because of the hardcoded /usr/bin/install path
15
# on redhat like distros. Now it's replaced by `which install` in the Makefile
16
17
build() {
18
    echo startdir:$startdir srcdir:$srcdir pkgdir:$pkgdir >/tmp/absdebug
19
    cp -f $startdir/Makefile $srcdir/crash-$pkgver/
20
    cd $srcdir/crash-$pkgver
21
    make
22
    make DESTDIR=$pkgdir install
23
}