diff --git a/community/fwupd/PKGBUILD b/community/fwupd/PKGBUILD index 3b1a5f957..1eacd7cd5 100644 --- a/community/fwupd/PKGBUILD +++ b/community/fwupd/PKGBUILD @@ -11,7 +11,7 @@ pkgname=fwupd pkgver=1.5.6 -pkgrel=1 +pkgrel=2 pkgdesc="Simple daemon to allow session software to update firmware" arch=(x86_64) url="https://github.com/fwupd/fwupd" @@ -39,11 +39,19 @@ backup=('etc/fwupd/daemon.conf' 'etc/fwupd/thunderbolt.conf' 'etc/fwupd/uefi_capsule.conf' 'etc/fwupd/upower.conf') -source=("https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz"{,.asc}) +source=("https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz"{,.asc} + 'fix-uefi-capsule.patch::https://github.com/fwupd/fwupd/commit/ec52942bc5ad9e80c8bf905e6d0a0ccf218acc1f.patch') sha256sums=('133f2836349f3f2884bedfb6bf24b6772ed6e503a714a6e2fb17d7fde8852fb5' - 'SKIP') + 'SKIP' + 'ca82e796b14e52ca34f7a41add301681e4a8b20377f28bbc528b54cc24e8238a') validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes +prepare() { + cd ${pkgname}-${pkgver} + + patch -p1 -i ../fix-uefi-capsule.patch +} + build() { arch-meson ${pkgname}-${pkgver} build \ -D b_lto=false \