#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- # We thank both the Artix and Void Linux developer teams for the inspiration and work pkgname=runit-rc pkgver=20230911 pkgrel=01 pkgdesc='Joborun Linux system initialization and shutdown for runit' backup=('etc/rc/rc.conf' 'etc/rc.conf' ) depends=('procps-ng' 'bash' 'bootlogd' 'eudev') optdepends=('lvm2-runit: LVM support for runit' 'cryptsetup-runit: Enable boot support for encrypted partitions' 'smbnetfs: to mount netfs volumes on stage1') provides=('init-rc') conflicts=('init-rc') source=("runit-rc.11092023.tar.xz") build() { cd ${pkgname} make } package() { cd ${pkgname} make DESTDIR="${pkgdir}" install-rc ln -s "/etc/rc/rc.conf" "${pkgdir}/etc/rc.conf" ### If you want cgroups mounted by the init remove the following line rm -rf "${pkgdir}/etc/rc/sysinit/04-cgroups" ### or # ln -s /usr/lib/rc/sv.d/cgroups /etc/rc/sysinit/04-cgroups ### and they will be mounted on next boot # iputils-specific configuration mkdir -p "$pkgdir/usr/lib/sysctl.d" mkdir -p "$pkgdir/usr/lib/rc" echo "net.ipv4.ping_group_range = 0 2147483647" > "$pkgdir/usr/lib/sysctl.d/55-iputils.conf" } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('BSD') sha256sums=(2f74e667ee9a33c8b30c3267fe4c4a239ed8c6b68ae13dc8821be1b9de338ff5) # runit-rc.11092023.tar.xz ## ac475aedf91193c581e296243c0501b196d0e00b1a7a26a1e96bf4032b8ab0fc runit-rc-20230911-01-x86_64.pkg.tar.lz