mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-admin/vaultwarden: use cargo_target_dir for vaultwarden binary
Closes: https://bugs.gentoo.org/953031 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
This commit is contained in:
@@ -108,7 +108,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin target/*/*/"${PN}"
|
||||
dobin "$(cargo_target_dir)/${PN}"
|
||||
systemd_newunit "${FILESDIR}"/vaultwarden-1.30.3.service "${PN}".service
|
||||
newinitd "${FILESDIR}"/vaultwarden-1.30.3.initd "${PN}"
|
||||
newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf
|
||||
|
||||
@@ -117,7 +117,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin target/*/*/"${PN}"
|
||||
dobin "$(cargo_target_dir)/${PN}"
|
||||
systemd_newunit "${FILESDIR}"/vaultwarden-1.30.3.service "${PN}".service
|
||||
newinitd "${FILESDIR}"/vaultwarden-1.30.3.initd "${PN}"
|
||||
newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf
|
||||
|
||||
@@ -113,7 +113,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin target/*/*/"${PN}"
|
||||
dobin "$(cargo_target_dir)/${PN}"
|
||||
systemd_newunit "${FILESDIR}"/vaultwarden-1.30.3.service "${PN}".service
|
||||
newinitd "${FILESDIR}"/vaultwarden-1.30.3.initd "${PN}"
|
||||
newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf
|
||||
|
||||
@@ -113,7 +113,7 @@ src_compile() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin target/*/*/"${PN}"
|
||||
dobin "$(cargo_target_dir)/${PN}"
|
||||
systemd_newunit "${FILESDIR}"/vaultwarden-1.30.3.service "${PN}".service
|
||||
newinitd "${FILESDIR}"/vaultwarden-1.30.3.initd "${PN}"
|
||||
newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf
|
||||
|
||||
Reference in New Issue
Block a user