Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix build of firmware-manager-git
diff --git a/PKGBUILD b/PKGBUILD
index d67db8a..2eeda54 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Mark Wagie <yochanan dot marqos at gmail dot com>
pkgname=firmware-manager-git
pkgver=r146.4be086f
-pkgrel=2
+pkgrel=3
pkgdesc="Generic framework and GTK UI for firmware updates from system76-firmware and fwupd, written in Rust."
arch=('x86_64')
url="https://github.com/pop-os/firmware-manager"
@@ -22,10 +22,10 @@ pkgver() {
build() {
cd "$srcdir/${pkgname%-git}"
- make prefix=/usr
+ make prefix=/usr features='system76 fwupd'
}
package() {
cd "$srcdir/${pkgname%-git}"
- make DESTDIR="$pkgdir/" install prefix=/usr
+ make DESTDIR="$pkgdir/" install prefix=/usr features='system76 fwupd'
}
diff --git a/firmware-manager.install b/firmware-manager.install
index 00ad80b..010c8fc 100644
--- a/firmware-manager.install
+++ b/firmware-manager.install
@@ -1,7 +1,7 @@
post_install() {
- systemctl --user enable com.system76.FirmwareManager.Notify.timer
+ /usr/bin/systemctl --user enable --now com.system76.FirmwareManager.Notify.timer
}
pre_remove() {
- systemctl --user disable com.system76.FirmwareManager.Notify.timer
+ /usr/bin/systemctl --user disable --now com.system76.FirmwareManager.Notify.timer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.