Files
2026-03-21 12:43:00 -05:00

46 lines
1.2 KiB
TOML

[build]
type = "meson"
[build.flags]
build_dir = "build"
configure = [
"-Dpam=true",
"-Dpkgconfig=true",
"-Dselinux=disabled",
"-Dzsh-completions=true",
"-Dbash-completions=true",
'-Dbranding="Vertex Linux"',
"-Dpkg_prefix=",
"-Dsysvinit=true"
]
post_install = [ "install -Dm644 support/sysvinit/inittab $DESTDIR/etc/inittab", "install -Dm0644 $DEPOT_SPECDIR/openrc.logrotate $DESTDIR/etc/logrotate.d/openrc", "ln -sf usr/bin/openrc-init $DESTDIR/init" ]
keep = [ "etc/**" ]
[dependencies]
build = ["meson"]
runtime = [
"glibc",
"pam",
]
[package]
description = "Dependency based init system"
homepage = "https://github.com/OpenRC/openrc"
license = "BSD-2-Clause"
name = "openrc"
version = "0.63"
[[source]]
extract_dir = "$name-$version"
sha256 = "1b661016bd8cd4189be83b441dd7062c967b641fdc00f741e359e22d06857df8"
url = "https://github.com/OpenRC/openrc/archive/refs/tags/$version.tar.gz"
post_extract = [
'sed -i "s!halt -w!openrc-shutdown -w!g" init.d/bootmisc.in',
'sed -i "s!--verbose!!g" init.d/modules.in',
'sed -i "s!vcs_tag(!vcs_tag(\\n\\tcommand : [ \x27echo\x27, \x27$pkgver\x27, ],!g" src/shared/meson.build',
]
[[manual_sources]]
file = "openrc.logrotate"
sha256 = "skip"