blob: 605438136902598fd647f81b57e3a1689db525d0 (
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
31
32
33
|
# Contributor: Camille Moncelier <pix@devlife.org>, simo <simo@archlinux.org>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=kexec-tools
pkgver=2.0.20
pkgrel=2
pkgdesc="Load another kernel from the currently executing Linux kernel"
arch=('x86_64')
url="https://kernel.org/pub/linux/utils/kernel/kexec/"
source=("git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git#tag=v${pkgver}")
makedepends=('git')
depends=('zlib' 'xz')
license=('GPL2')
prepare() {
cd $pkgname
./bootstrap
}
build() {
cd $pkgname
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
./configure --prefix=/usr --sbindir=/usr/bin --without-lzma
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
install -D -m644 kexec/kexec.8 "$pkgdir"/usr/share/man/man8/kexec.8
}
md5sums=('SKIP')
|