25 lines
657 B
Bash
25 lines
657 B
Bash
# 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
|
|
}
|