From 6bfe04714538bfb3f986c1476adccff73126e0e9 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sun, 22 Oct 2023 22:10:51 +0200 Subject: [PATCH] app-crypt/archlinux-keyring: Bump to 20231017, fix installs w/ systemd Signed-off-by: Nils Freydank --- app-crypt/archlinux-keyring/Manifest | 2 +- ...20230821.ebuild => archlinux-keyring-20231017.ebuild} | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) rename app-crypt/archlinux-keyring/{archlinux-keyring-20230821.ebuild => archlinux-keyring-20231017.ebuild} (68%) diff --git a/app-crypt/archlinux-keyring/Manifest b/app-crypt/archlinux-keyring/Manifest index 45c7de1..14b5959 100644 --- a/app-crypt/archlinux-keyring/Manifest +++ b/app-crypt/archlinux-keyring/Manifest @@ -1 +1 @@ -DIST archlinux-keyring-20230821.tar.gz 1484866 BLAKE2B 5dc7aab61f259876be9b58a096ae40b922c6c44c714fb7720b062ef0e5abcba3a7f2be0dd619835005c2fc194bf6ceeb90606ba56d5fe09128398787dee38c40 SHA512 efa6b1ddeca97d18c697f2bfecb75073d1d03bf16c3736ff1e44590f9931b005d50a296744072ecb694a001404bb880607d1f1009c33d8017a7b177800b89ece +DIST archlinux-keyring-20231017.tar.gz 1489024 BLAKE2B e445dd27ae9a90aae440d2963db4297fecbb7da921f9dc19939b464b925ade40fce87e866f49374168e650303ba4674a2f53f7247d989c4d3d8bac9944800080 SHA512 da445bbb275a815e416f1ca5404e2b36357450e60f51b86500dc7866f14c26a158e2b963fa707a18cec33ae093ff5fd02b1b06771c7f2c3e0d10a7c29a973f57 diff --git a/app-crypt/archlinux-keyring/archlinux-keyring-20230821.ebuild b/app-crypt/archlinux-keyring/archlinux-keyring-20231017.ebuild similarity index 68% rename from app-crypt/archlinux-keyring/archlinux-keyring-20230821.ebuild rename to app-crypt/archlinux-keyring/archlinux-keyring-20231017.ebuild index ec2e260..5c52e5c 100644 --- a/app-crypt/archlinux-keyring/archlinux-keyring-20230821.ebuild +++ b/app-crypt/archlinux-keyring/archlinux-keyring-20231017.ebuild @@ -14,6 +14,15 @@ IUSE="" BDEPEND="app-crypt/sequoia-sq" +src_prepare() { + default + + # On non-systemd installations the service files are thrown + # directly into /. Hard-code the path as a quick and dirty solution. + # If it breaks for someone else, please complain, too and I'll revert it. + sed -i "s#\$\(shell pkgconf --variable systemd_system_unit_dir systemd\)#/usr/lib/systemd/system#" Makefile || die +} + src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install }