eth0s/ports/core/efibootmgr/Pkgfile
2020-11-13 13:58:01 +08:00

20 lines
514 B
Text
Executable file

# Description: Manipulate efi boot managers
# URL:
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
# Depends on: efivar pciutils
name=efibootmgr
version=17
release=1
source=(https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz
efivar.patch)
build() {
cd $name-$version
patch -Np1 -i $SRC/efivar.patch
EFIDIR=/boot/efi make
install -D src/efibootmgr $PKG/usr/sbin/efibootmgr
install -D src/efibootmgr.8 $PKG/usr/share/man/man8/efibootmgr.8
}