mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/fwupd to 1.4.4-2
This commit is contained in:
parent
b2491d26c8
commit
663ddc64ab
1 changed files with 5 additions and 7 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
pkgname=fwupd
|
pkgname=fwupd
|
||||||
pkgver=1.4.4
|
pkgver=1.4.4
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Simple daemon to allow session software to update firmware"
|
pkgdesc="Simple daemon to allow session software to update firmware"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://github.com/fwupd/fwupd"
|
url="https://github.com/fwupd/fwupd"
|
||||||
|
@ -43,18 +43,16 @@ sha256sums=('d742d5f30b6018a936486c3e42f6f2542ed8724afe04f517eb7b14dda749d60f'
|
||||||
validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes <richard@hughsie.com>
|
validpgpkeys=(163EB50119225DB3DF8F49EA17ACBA8DFA970E17) # Richard Hughes <richard@hughsie.com>
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
arch-meson ${pkgname}-${pkgver} build -D b_lto=false -D plugin_flashrom=true -Dplugin_dell=false -Dplugin_uefi=false -Dplugin_redfish=false -Dplugin_nvme=false -Dplugin_tpm=false
|
||||||
arch-meson -D b_lto=false -D plugin_flashrom=true -Dplugin_dell=false -Dplugin_uefi=false -Dplugin_redfish=false -Dplugin_nvme=false -Dplugin_tpm=false ../build
|
meson compile -C build
|
||||||
ninja -v -C ../build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd build
|
meson test -C build
|
||||||
meson test
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
DESTDIR="${pkgdir}" ninja -C build install
|
DESTDIR="${pkgdir}" meson install -C build
|
||||||
# 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
|
||||||
# Remove the tests
|
# Remove the tests
|
||||||
|
|
Loading…
Reference in a new issue