# Contributor: Leo # Maintainer: Patrycja Rosa pkgname=fwupd-efi pkgver=1.4 pkgrel=3 pkgdesc="EFI application used by uefi-capsule plugin in fwupd" url="https://github.com/fwupd/fwupd-efi" # only recognised/supported arches # armv7 fails with textrel arch="aarch64 x86 x86_64" license="LGPL-3.0-or-later" makedepends="meson gnu-efi-dev py3-pefile" subpackages="$pkgname-dev" source="https://people.freedesktop.org/~hughsient/releases/fwupd-efi-$pkgver.tar.xz" build() { abuild-meson \ -Defi_sbat_distro_id=alpine \ -Defi_sbat_distro_summary='Alpine Linux' \ -Defi_sbat_distro_pkgname=$pkgname \ -Defi_sbat_distro_version=$pkgver \ -Defi_sbat_distro_url=https://alpinelinux.org \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" c330409861a8c1e332a0d4fd49c54ef2c5bf7cdaca99d14de39b50fb35f0c490e9f7f7a4c9dd48181bd509cd358c43eb23659536aea93408c1fefb47629e4991 fwupd-efi-1.4.tar.xz "