community/fwupd to 1.2.3-2

This commit is contained in:
Kevin Mihelich 2019-01-12 23:42:32 +00:00
parent a14e495b9c
commit 2fd490a2ba

View file

@ -9,7 +9,7 @@
pkgname=fwupd pkgname=fwupd
pkgver=1.2.3 pkgver=1.2.3
pkgrel=1 pkgrel=2
pkgdesc="A simple daemon to allow session software to update firmware" pkgdesc="A simple daemon to allow session software to update firmware"
arch=('x86_64') arch=('x86_64')
url="https://github.com/hughsie/fwupd" url="https://github.com/hughsie/fwupd"
@ -20,6 +20,8 @@ depends=('libxmlb' 'python' 'libgusb'
makedepends=('meson' 'gobject-introspection' 'gtk-doc' makedepends=('meson' 'gobject-introspection' 'gtk-doc'
'python-cairo' 'noto-fonts' 'noto-fonts-cjk' 'python-gobject' 'vala' 'python-cairo' 'noto-fonts' 'noto-fonts-cjk' 'python-gobject' 'vala'
'bash-completion' 'python-pillow' 'help2man') 'bash-completion' 'python-pillow' 'help2man')
optdepends=('tpm2-abrmd: TPM2 support'
'tpm2-tools: TPM2 support')
checkdepends=('umockdev') checkdepends=('umockdev')
backup=('etc/fwupd/daemon.conf' 'etc/fwupd/uefi.conf') backup=('etc/fwupd/daemon.conf' 'etc/fwupd/uefi.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})
@ -41,6 +43,9 @@ package() {
DESTDIR="${pkgdir}" ninja -C build install DESTDIR="${pkgdir}" ninja -C build install
# Fixup mode to match polkit # Fixup mode to match polkit
install -d -o root -g 102 -m 750 "${pkgdir}"/usr/share/polkit-1/rules.d install -d -o root -g 102 -m 750 "${pkgdir}"/usr/share/polkit-1/rules.d
# Move D-BUS policy
mv "${pkgdir}"/{etc,usr/share}/dbus-1/system.d
rmdir "${pkgdir}"/etc/dbus-1
# Remove the tests # Remove the tests
rm -r "${pkgdir}"/usr/share/installed-tests/ rm -r "${pkgdir}"/usr/share/installed-tests/
} }