[arch-commits] Commit in fwupd-efi/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Thu May 6 13:05:42 UTC 2021


    Date: Thursday, May 6, 2021 @ 13:05:41
  Author: ffy00
Revision: 928452

upgpkg: fwupd-efi 1.0-1

Added:
  fwupd-efi/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-06 13:05:41 UTC (rev 928452)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns <lains at archlinux.org>
+
+pkgname=fwupd-efi
+pkgver=1.0
+pkgrel=1
+pkgdesc='EFI Application used by uefi-capsule plugin in fwupd'
+arch=('x86_64')
+url='https://github.com/fwupd/fwupd'
+license=('LGPL')
+makedepends=('meson' 'gnu-efi')
+source=("https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('add34f160e90eddd60911eb132fb7504c4b5727153f9623160d421be6ca11099'
+            'SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes <richard at hughsie.com>
+
+build() {
+  mkdir $pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
+
+  arch-meson .. \
+      -D efi_sbat_distro_id='arch' \
+      -D efi_sbat_distro_summary='Arch Linux' \
+      -D efi_sbat_distro_pkgname=$pkgname \
+      -D efi_sbat_distro_version=$pkgver \
+      -D efi_sbat_distro_url="https://archlinux.org/packages/community/x86_64/$pkgname/"
+  ninja
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+
+  DESTDIR="$pkgdir" meson install
+}



More information about the arch-commits mailing list