# Maintainer: Vincent Grande # Contributor: David Runge # Contributor: Tobias Powalowski # Contributor: Murtuza Akhtari # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> pkgname=efibootmgr-git pkgver=17 pkgrel=1 pkgdesc="Linux user-space application to modify the EFI Boot Manager" arch=('x86_64') url="https://github.com/rhboot/efibootmgr" license=('GPL2') depends=('glibc' 'popt') makedepends=('efivar' 'git') provides=(efibootmgr) conflicts=(efibootmgr) source=(git+https://github.com/rhboot/efibootmgr) sha512sums=('SKIP') #validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10') # Peter Jones pkgver() { cd efibootmgr git describe --tags | sed 's/-/+/g' } prepare() { cd efibootmgr # removing hotfix function declaration: # https://github.com/rhboot/efibootmgr/issues/128 sed -e '/extern int efi_set_verbose/d' -i "src/efibootmgr.c" } build() { cd efibootmgr make libdir='/usr/lib' sbindir='/usr/bin' EFIDIR='arch' } package() { depends+=('libefiboot.so' 'libefivar.so') cd efibootmgr make DESTDIR="${pkgdir}" \ libdir='/usr/lib' \ sbindir='/usr/bin' \ EFIDIR='arch' \ install install -vDm 644 {AUTHORS,README,README.md,TODO} \ -t "${pkgdir}/usr/share/doc/${pkgname}" }