jobcore/runit-service-scripts/PKGBUILD

35 lines
1.2 KiB
Text
Raw Normal View History

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
pkgver=20220422
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"
arch=(x86_64)
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/")
makedepends=(sh)
2022-03-20 13:19:37 +01:00
url="https://osdn.net/projects/joborun/storage"
source=($url/tarballs/runit-sv4.tar.xz)
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
}
#---- license gpg-key sha256sums ----
license=(GPL)
sha256sums=(7f5198a53e6bb0ae9e8777e777bd5f5b50ef9fa78732a377cd1ff390cf52d06d) # runit-sv4.tar.xz