jobcore/jobo66/PKGBUILD

51 lines
2.0 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=jobo66
pkgdesc="installs minimal s6 & 66 needed software equivalent to the runit setup on joborun to boot w/ s6/66"
pkgver=0.1.0
pkgrel=07
source=(jobo66.txt jobo66.install)
makedepends=(glibc sh)
groups=('s6-suite' 'jobo66')
backup=('etc/66/jobo66.txt')
conflicts=(opensysusers) # obsysusers takes over what opensysusers does with runit alone
optdepends=('lvm2-66serv: lvm service'
'openntpd-66serv: an alternative to ntp'
'dhcpcd-66serv: works well with wpa_supplicant'
'ntpclient-66serv: a very small but effective ntp service by Skarnet')
package() {
depends=(skalibs execline s6 s6-dns s6-linux-utils s6-networking s6-portable-utils s6-rc
oblibs 66 66-tools boot-66serv boot@-66serv ntpd-66serv dhclient-66serv
wpa_supplicant-66serv tty@-66serv joborun66 obsysusers opentmpfiles
boot-user@-66serv dbus-66serv xdg-user-dirs-66serv consolekit-66serv )
install -Dm 0644 $srcdir/jobo66.txt $pkgdir/etc/66/jobo66.txt
mkdir -p $pkgdir/usr/bin
## replaces runit functionality when opensysusers is replaced by obsysusers
ln -s /usr/bin/obsysusers $pkgdir/usr/bin/sysusers
}
install=jobo66.install
# See the observice repository (pkg -Sl observice) for all the Obarun service files available
# See also additional or more minimalistic and runit like services for 66 from mobinmob
# https://codeberg.org/mobinmob/66-voidlinux and https://osdn.net/projects/avyssos/
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('ISC')
sha256sums=(39c75848713bb50f782844bb790dc2ec76b104fe15c2e272ee622a559319220e # jobo66.txt
d109d7d2b3bfa6959142906e6e5a3c7df4d9d1d71e7a6853a5c113dc6169ccad) # jobo66.install
## 16bdfcae4f5a3ffe4ce06249f790d1c2dd3fd366f5e07ffc138111a6d9623574 jobo66-0.1.0-07-x86_64.pkg.tar.lz