pkgname=efibootmgr pkgver=18 pkgrel=1 pkgdesc="Linux user-space application to modify the EFI Boot Manager" arch=('x86_64') url="https://github.com/rhboot/efibootmgr" license=('GPL-2.0-or-later') depends=('glibc' 'popt' 'efivar') source=(https://github.com/rhboot/efibootmgr/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(442867d12f8525034a404fc8af3036dba8e1fc970998af2486c3b940dfad0874) build() { cd ${pkgname}-${pkgver} make CC=${CHOST}-gcc EFIDIR=Flarebird EFI_LOADER=grubx64.efi } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install EFIDIR=Flarebird }