38 lines
1.3 KiB
Bash
38 lines
1.3 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=runit-service-scripts
|
|
pkgver=20220202
|
|
pkgrel=04
|
|
pkgdesc="A collection of services for runit - similar to Artix Linux"
|
|
arch=(x86_64)
|
|
group=(base)
|
|
depends=('runit' 'runit-rc')
|
|
backup=("etc/runit/sv" "etc/runit/runsvdir/default")
|
|
makedepends=()
|
|
url="https://osdn.net/projects/joborun/storage"
|
|
source=($url/tarballs/runit-sv.tar.xz)
|
|
install=rss.install
|
|
|
|
package() {
|
|
cd $srcdir
|
|
mkdir -p $pkgdir/etc/runit/sv
|
|
mkdir -p $pkgdir/etc/runit/runsvdir/default
|
|
msg 'Copying services library to /etc/runit/sv/ ...'
|
|
cp -r etc/runit/sv/* $pkgdir/etc/runit/sv
|
|
msg 'Copying links to default service /etc/runit/runsvdir/default ...'
|
|
cp -r etc/runit/runsvdir/default/* $pkgdir/etc/runit/runsvdir/default/
|
|
# We currently decided against the default use of syslog-ng and since it is not
|
|
# installed by base it gives runit a hard time trying to run in error
|
|
rm $pkgdir/etc/runit/runsvdir/default/syslog-ng
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=(GPL)
|
|
|
|
sha256sums=(a19353583c3b895b5e65e08e2ea9a0336e310999e5cd0a4e8954d4f9e972e80f) # runit-sv.tar.xz
|