2022-03-20 13:19:37 +01:00
|
|
|
#!/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
|
2023-12-09 00:53:09 +01:00
|
|
|
pkgver=20231208
|
2022-04-05 21:49:25 +02:00
|
|
|
pkgrel=01
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc="A collection of services for runit - similar to Artix Linux"
|
2023-04-23 18:11:23 +02:00
|
|
|
groups=(base)
|
2022-04-05 21:49:25 +02:00
|
|
|
backup=("etc/runit/sv/" "etc/runit/runsvdir/default/")
|
2023-12-09 00:53:09 +01:00
|
|
|
makedepends=(bash)
|
2022-03-20 13:19:37 +01:00
|
|
|
url="https://osdn.net/projects/joborun/storage"
|
2023-12-09 00:53:09 +01:00
|
|
|
#source=($url/tarballs/runit-sv4.tar.xz)
|
|
|
|
source=(runit-sv5.tar.xz
|
|
|
|
rss.install)
|
2022-03-20 13:19:37 +01:00
|
|
|
install=rss.install
|
|
|
|
|
|
|
|
package() {
|
2022-04-05 21:49:25 +02:00
|
|
|
depends=('runit' 'runit-rc')
|
|
|
|
mkdir -p $pkgdir/usr/lib/runit/sv
|
2022-03-20 13:19:37 +01:00
|
|
|
mkdir -p $pkgdir/etc/runit/runsvdir/default
|
2022-04-05 21:49:25 +02:00
|
|
|
msg 'Copying services library to /usr/lib/runit/sv/ ...'
|
|
|
|
cp -r $srcdir/usr/lib/runit/sv/* $pkgdir/usr/lib/runit/sv
|
|
|
|
msg 'Copying links to default network services /etc/runit/runsvdir/default ...'
|
|
|
|
cp -r $srcdir/etc/runit/runsvdir/default/* $pkgdir/etc/runit/runsvdir/default/
|
2022-03-20 13:19:37 +01:00
|
|
|
}
|
|
|
|
|
2023-12-09 00:53:09 +01:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
license=(GPL)
|
|
|
|
|
2023-12-09 00:53:09 +01:00
|
|
|
sha256sums=(52e8d824791e61241786a4ef2c0c635d1e912bdf914e488cd54440bf90f1b7bc # runit-sv5.tar.xz
|
|
|
|
0a694ad6441cf83ea14d52a5eca1ace303e4870336a45a1ebce19a2c17689796) # rss.install
|
|
|
|
|
|
|
|
## 2d5793debd21bd58f4c04148bb1e4b12e4625fb347bac46703abcf3e50883c09 runit-service-scripts-20231208-01-x86_64.pkg.tar.lz
|