### this file is sourced not run
PKGVER=16.git
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=efibootmgr-20180411.tar.bz2
MD5SUM=8dda7b9d528b8cb3b687f4db431e3db0
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$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 && make EFIDIR=fatdog install &&
	pkg_build_slackdesc &&

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


