From 116ae0b93d158d04e2b15ed0f0574aa431fe0b04 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Thu, 31 Oct 2024 13:22:21 +0800 Subject: [PATCH] efibootmgr 18-1 --- PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..6adfa57 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Future Linux Team + +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 +}