abuild (386B)
1 name=efibootmgr 2 version=18 3 release=1 4 source="https://github.com/rhboot/efibootmgr/archive/$version/$name-$version.tar.gz" 5 export CFLAGS="${CFLAGS} -Wno-error=pointer-sign" 6 7 build() { 8 sed -e '/extern int efi_set_verbose/d' -i src/efibootmgr.c 9 EFIDIR=/boot/efi make 10 install -D src/efibootmgr $PKG/usr/sbin/efibootmgr 11 install -D src/efibootmgr.8 $PKG/usr/share/man/man8/efibootmgr.8 12 }