# Description: Tool to modify UEFI Firmware Boot Manager Variables.
# URL: https://github.com/rhinstaller/efibootmgr
# Packager: alihan-ozturk28@hotmail.com
# Depends on: efivar

name=efibootmgr
version=0.12.1
release=1
source=(https://crux.nu/~tek/${name}-${version}.tar.xz)

build() {
  cd $name-$version
  make EXTRA_CFLAGS="-Os"
  install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
  install -D src/efibootmgr.8 $PKG/usr/man/man8/efibootmgr.8
}