# Contributor: Nicolas Lorin # Maintainer: Nicolas Lorin pkgname=kpatch pkgver=0.9.7 pkgrel=0 pkgdesc="live kernel patching" url="https://github.com/dynup/kpatch" arch="x86_64" license="GPL-2.0-only" depends=" bash binutils elfutils-dev gawk gcc " makedepends="argp-standalone" options="!check" subpackages="kpatch-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/dynup/kpatch/archive/v$pkgver.tar.gz 02-argp.patch 03-ppc64.patch " build() { make } package() { make DESTDIR="$pkgdir" PREFIX="/usr" install cd "$pkgdir" # Remove incompatible init system file rm -r etc/init } sha512sums=" c876d9b1e5f6e6ab858fa6f302e78152beb3e50cedd93f3c61ab6f747e32199b0601ad4a36d426d43d0e9a37d9bf1d6bbfddccc86df4b31d5e3e6edead6cded3 kpatch-0.9.7.tar.gz 69b05b0941e40189b246159de4faafdf78527b4f08d6b28e82eabae0f3e10935adcdf237b0ff402dd1bc9e6cc96315f3e65438c7a827246da5c3a119d4fc207b 02-argp.patch 99256fd74ffa98d00bc614115b1acb3d7f4d829b641cc4e46a342cd4bfdb97fb1197888ca438c0562881f2382a6e7d2dd6995cf8d24915d261385dcea95df27f 03-ppc64.patch "