summaryrefslogtreecommitdiff
path: root/extra/kexec-tools/PKGBUILD
blob: d56fb83aa2e5703645477e69a9c01f5f8679aef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 212795 2014-05-15 07:47:16Z tpowa $
# Contributor: Camille Moncelier <pix@devlife.org>, simo <simo@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=kexec-tools
pkgver=2.0.6
pkgrel=1
pkgdesc="Load another kernel from the currently executing Linux kernel"
arch=('i686' 'x86_64')
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.xz"
        )
depends=('gawk' 'zlib' 'xz')
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=('9192e5b9fab094b90f481226d1ad5e74')
md5sums=('2baef0f424fa9994ba2c54cc93ed1233')