Date: Friday, September 4, 2020 @ 21:14:52 Author: dvzrv Revision: 395443
upgpkg: efibootmgr 17-2: Rebuild to change EFIDIR. As discussed in FS#54278 the EFIDIR setting is reserved for a subdirectory name. Instead of providing an absolute path we now provide 'arch'. Add all direct dependencies. Add sodeps in package() and the respective package to makedepends. Fix upstream url. Modified: efibootmgr/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-09-04 19:55:08 UTC (rev 395442) +++ PKGBUILD 2020-09-04 21:14:52 UTC (rev 395443) @@ -3,16 +3,17 @@ # Contributor: Murtuza Akhtari <inxsible at gmail dot com> # Contributor: Keshav Amburay <(the ddoott ridikulus ddoott rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)> +# upstream only signs commits +_commit=e067160ecef8208e1944002e5d50b275733211fb # 17 pkgname=efibootmgr +pkgver=17 +pkgrel=2 pkgdesc="Linux user-space application to modify the EFI Boot Manager" -pkgver=17 -_commit=e067160ecef8208e1944002e5d50b275733211fb # 17 -pkgrel=1 arch=('x86_64') -url="https://github.com/rhinstaller/efibootmgr" +url="https://github.com/rhboot/efibootmgr" license=('GPL2') -depends=('glibc' 'efivar') -makedepends=('git') +depends=('glibc' 'popt') +makedepends=('efivar' 'git') source=("${pkgname}::git+https://github.com/rhboot/efibootmgr#tag=${pkgver}?signed") sha512sums=('SKIP') validpgpkeys=('B00B48BC731AA8840FED9FB0EED266B70F4FEF10') # Peter Jones <pjo...@redhat.com> @@ -27,15 +28,16 @@ build() { cd "${pkgname}-${pkgver}" - make libdir='/usr/lib' sbindir='/usr/bin' EFIDIR='/boot/EFI' + make libdir='/usr/lib' sbindir='/usr/bin' EFIDIR='arch' } package() { + depends+=('libefiboot.so' 'libefivar.so') cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" \ libdir='/usr/lib' \ sbindir='/usr/bin' \ - EFIDIR='/boot/EFI' \ + EFIDIR='arch' \ install install -vDm 644 {AUTHORS,README,README.md,TODO} \ -t "${pkgdir}/usr/share/doc/${pkgname}"