### this file is sourced not run
PKGVER=18.0
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3
TARBALL=efibootmgr-18.tar.gz
MD5SUM=e170147da25e1d5f72721ffc46fe4e06
SRC_URL=https://github.com/rhboot/efibootmgr/archive/18/$TARBALL
BUNDLE=

SLACKREQ='pciutils libefivar'
SLACKDESC="efibootmgr: efibootmgr $PKGVER (UEFI boot configurator)  
efibootmgr:  
efibootmgr: This is a Linux user-space application to modify the Intel 
efibootmgr: Extensible Firmware Interface (EFI) Boot Manager configuration. 
efibootmgr: This application can create and destroy boot entries, change the 
efibootmgr: boot order, change the next running boot option, and more. Note: 
efibootmgr: efibootmgr requires that the kernel module efivars be loaded prior 
efibootmgr: to use. \"modprobe efivars\" should do the trick.  
efibootmgr: 
efibootmgr: https://github.com/rhboot/efibootmgr
efibootmgr:
"

### default pkg_download
### default prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/efibootmgr* &&
	make EFIDIR=fatdog EFI_LOADER=grubx64.efi &&
	make EFIDIR=fatdog install &&
	pkg_build_slackdesc &&

	install -m644 /tmp/pkg/efibootmgr.8.pdf /usr/share/doc
}


