mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
Signed-off-by: Rose Hellsing <rose@pinkro.se> Part-of: https://codeberg.org/gentoo/gentoo/pulls/403 Merges: https://codeberg.org/gentoo/gentoo/pulls/403 Signed-off-by: Sam James <sam@gentoo.org>
40 lines
969 B
Bash
40 lines
969 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
# We want to avoid tmpfiles.eclass because we provide it
|
|
TMPFILES_OPTIONAL=1
|
|
|
|
inherit meson
|
|
|
|
DESCRIPTION="Portable drop-in reimplementation of systemd-tmpfiles"
|
|
HOMEPAGE="https://git.pinkro.se/Rose/gardenhouse/seedfiles.git/about/"
|
|
|
|
if [[ ${PV} = 9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://clone.git.pinkro.se/Rose/gardenhouse/seedfiles.git"
|
|
EGIT_BRANCH="main"
|
|
else
|
|
SRC_URI="https://git.pinkro.se/Rose/gardenhouse/seedfiles.git/snapshot/${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
fi
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
|
|
RDEPEND="virtual/acl
|
|
!sys-apps/systemd
|
|
!sys-apps/systemd-utils[tmpfiles]"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
doinitd "${FILESDIR}"/seedfiles-setup
|
|
doinitd "${FILESDIR}"/seedfiles-setup-dev
|
|
|
|
# We want to avoid tmpfiles.eclass because we provide it
|
|
insinto /usr/lib/tmpfiles.d
|
|
doins "${FILESDIR}"/{tmp,legacy}.conf
|
|
}
|