efibootmgr/PKGBUILD

25 lines
657 B
Bash
Raw Normal View History

2024-10-31 13:22:21 +08:00
# Maintainer: Future Linux Team <futurelinux@163.com>
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=('GPL2')
depends=('glibc' 'popt' 'efivar')
source=(https://github.com/rhboot/efibootmgr/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=(442867d12f8525034a404fc8af3036dba8e1fc970998af2486c3b940dfad0874)
build() {
cd ${pkgname}-${pkgver}
CC=${CHOST}-gcc CXX=${CHOST}-g++ make EFIDIR=future EFI_LOADER=grubx64.efi
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install EFIDIR=future
}