mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
gui-apps/ashell: add systemd user unit
Signed-off-by: Henrik Steffen Gaßmann <henrik@gassmann.onl>
This commit is contained in:
@@ -704,7 +704,7 @@ declare -A GIT_CRATES=(
|
||||
LLVM_COMPAT=( 18 19 20 )
|
||||
RUST_NEEDS_LLVM=1
|
||||
|
||||
inherit cargo llvm-r1
|
||||
inherit cargo llvm-r1 systemd
|
||||
|
||||
DESCRIPTION="A ready to go Wayland status bar for Hyprland"
|
||||
HOMEPAGE="https://github.com/MalpenZibo/ashell"
|
||||
@@ -739,3 +739,15 @@ pkg_setup() {
|
||||
llvm-r1_pkg_setup
|
||||
rust_pkg_setup
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# default invokes `make install` which invokes `sudo cp`
|
||||
# therefore explicitly invoke cargo_src_install
|
||||
cargo_src_install
|
||||
einstalldocs
|
||||
systemd_douserunit "${FILESDIR}/ashell.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
systemd_is_booted && elog "This port provides the systemd user service unit ashell.service."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user