mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/fwupd to 1.2.3-2
This commit is contained in:
parent
a14e495b9c
commit
2fd490a2ba
1 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
pkgname=fwupd
|
||||
pkgver=1.2.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A simple daemon to allow session software to update firmware"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/hughsie/fwupd"
|
||||
|
@ -20,6 +20,8 @@ depends=('libxmlb' 'python' 'libgusb'
|
|||
makedepends=('meson' 'gobject-introspection' 'gtk-doc'
|
||||
'python-cairo' 'noto-fonts' 'noto-fonts-cjk' 'python-gobject' 'vala'
|
||||
'bash-completion' 'python-pillow' 'help2man')
|
||||
optdepends=('tpm2-abrmd: TPM2 support'
|
||||
'tpm2-tools: TPM2 support')
|
||||
checkdepends=('umockdev')
|
||||
backup=('etc/fwupd/daemon.conf' 'etc/fwupd/uefi.conf')
|
||||
source=("https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz"{,.asc})
|
||||
|
@ -41,6 +43,9 @@ package() {
|
|||
DESTDIR="${pkgdir}" ninja -C build install
|
||||
# Fixup mode to match polkit
|
||||
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
|
||||
rm -r "${pkgdir}"/usr/share/installed-tests/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue