blob: 5c44a89d79006189c435e202aa55175c74496b76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-firmware-updater
pkgver=3.34.0
pkgrel=0
pkgdesc="Install firmware on devices"
url="https://gitlab.gnome.org/hughsie/gnome-firmware-updater"
arch="x86_64 x86" # limited by fwupd
license="GPL-2.0-only"
makedepends="meson gtk+3.0-dev fwupd-dev libsoup-dev elogind-dev libxmlb-dev"
options="!check" # no tests
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/hughsie/gnome-firmware-updater/-/archive/$pkgver/gnome-firmware-updater-$pkgver.tar.gz"
build() {
# man pages fail to build
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
-Dsystemd=false \
-Delogind=true \
-Dman=false \
. output
ninja -C output
}
package() {
DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="af4c82ca2ce9f3a36f614918cd6c97ae2b9dbab915d540760f4131938fd81038f315c1d664c3ade96da9164f96933eb9bf2c145f12f99e25753d3b29a7f0e2d1 gnome-firmware-updater-3.34.0.tar.gz"
|