# Contributor: Duncan Guthrie # Maintainer: Duncan Guthrie pkgname=kexec-tools pkgver=2.0.20 pkgrel=1 pkgdesc="Directly boot into a new kernel over a currently running one" url="https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/" arch="all" license="GPL-2.0-only" makedepends="zlib-dev xz-dev linux-headers" subpackages="$pkgname-doc" source="https://www.kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-$pkgver.tar.xz kexec-tools-2.0.16-fix-config-sub.patch fix-build-on-Alpine-linux.patch " options="!check" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --with-zlib \ --with-lzma make } package() { make DESTDIR="$pkgdir" install } sha512sums="3112b6202c1030705c53e3f65a2b58aec14d65333a35aad681d48b9f2bd1c51a2e05c985a1e5e867ab02f8a9c97708483d9d225619db7c6993676f1a242e2d99 kexec-tools-2.0.20.tar.xz 3c87540309dceda4c074d5822fd1a5d709ad533baed91dfd77aa64ebfe3850fc099c4b3d2bcc887c81ae53dc5940d17ccf34be25609beb37ed5ef7ed75862d43 kexec-tools-2.0.16-fix-config-sub.patch 228166102bfc48f81c04f3b13fbf29d6edf2e66918a967f243c8d2652f40c27af565f1db6b1a58783bd12d67184a70e6b00b1ab82e0f0d195dd51009260c3329 fix-build-on-Alpine-linux.patch"