jobcore/runit-rc/PKGBUILD-artix

36 lines
993 B
Text
Raw Normal View History

2023-09-27 20:39:29 +02:00
# Maintainer: Qontinuum <qontinuum@artixlinux.org>
# Contributor: Chris Cromer <chris@cromer.cl>
# Contributor: Muhammad Herdiansyah <koni@artixlinux.org>
2022-03-20 13:19:37 +01:00
2023-09-27 20:39:29 +02:00
_commit=26fa40633d6a42764448a4e00164b0428b5b8618
2022-03-20 13:19:37 +01:00
pkgname=runit-rc
2023-09-27 20:39:29 +02:00
pkgver=20230902
2022-03-20 13:19:37 +01:00
pkgrel=1
pkgdesc='Artix Linux system initialization and shutdown for runit'
arch=('x86_64')
url='https://gitea.artixlinux.org/artix/runit-rc'
license=('BSD')
makedepends=('git')
2023-09-27 20:39:29 +02:00
depends=('procps-ng' 'bash' 'bootlogd' 'eudev-runit')
2022-03-20 13:19:37 +01:00
provides=('init-rc')
conflicts=('init-rc')
source=("git+${url}.git#commit=$_commit")
sha256sums=('SKIP')
optdepends=('lvm2-runit: LVM support for runit'
'cryptsetup-runit: Enable boot support for encrypted partitions')
build() {
cd ${pkgname} #-${pkgver}
make
}
package() {
cd ${pkgname} #-${pkgver}
make DESTDIR="${pkgdir}" install-rc
2023-09-27 20:39:29 +02:00
# iputils-specific configuration
mkdir -p "$pkgdir/usr/lib/sysctl.d"
echo "net.ipv4.ping_group_range = 0 2147483647" > "$pkgdir/usr/lib/sysctl.d/55-iputils.conf"
2022-03-20 13:19:37 +01:00
}