# $Id: PKGBUILD 185799 2013-05-19 09:24:25Z tpowa $ # Contributor: Camille Moncelier , simo # Maintainer: Tobias Powalowski pkgname=kexec-tools pkgver=2.0.4 pkgrel=2 pkgdesc="Load another kernel from the currently executing Linux kernel" arch=('i686' 'x86_64' 'mips64el') url="http://kernel.org/pub/linux/utils/kernel/kexec/" source=("ftp://ftp.archlinux.org/other/kexec-tools/kexec-tools-${pkgver}.tar.bz2" # upstream tarballs broken with bsdtar! #"http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-${pkgver}.tar.bz2" ) depends=('gawk' 'zlib' 'xz') backup=('etc/conf.d/kexec') license=('GPL2') build() { cd $srcdir/$pkgname-$pkgver ./configure --prefix=/usr --sbindir=/usr/bin --without-lzma make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install install -D -m644 kexec/kexec.8 $pkgdir/usr/share/man/man8/kexec.8 } md5sums=('4713026758923f5f3968905291b991ee')