jobcore/runit-service-scripts/PKGBUILD

45 lines
1.5 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 |---------------------------------------
# Contributor : Evhorizon <event.horizon@disroot.org>
2022-03-20 13:19:37 +01:00
pkgname=runit-service-scripts
2024-06-12 02:31:47 +02:00
pkgver=20240612
2023-12-09 01:05:55 +01:00
pkgrel=01
pkgdesc="A collection of services for runit"
2023-04-23 18:11:23 +02:00
groups=(base)
2023-12-09 01:05:55 +01:00
backup=("etc/runit/sv/" "etc/runit/runsvdir/default/")
makedepends=(bash git)
url="https://git.disroot.org/joborun/runit-service-scripts"
2024-04-06 19:09:37 +02:00
#source=($url/runit-sv8.tar.xz
#source=(git+"$url#commit=$_commit"
source=(git+$url
2023-12-09 00:53:09 +01:00
rss.install)
2022-03-20 13:19:37 +01:00
install=rss.install
package() {
cd $pkgname
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/$pkgname/usr/lib/runit/sv/* $pkgdir/usr/lib/runit/sv
2022-04-05 21:49:25 +02:00
msg 'Copying links to default network services /etc/runit/runsvdir/default ...'
cp -r $srcdir/$pkgname/etc/runit/runsvdir/default/* $pkgdir/etc/runit/runsvdir/default/
install -D -m644 $srcdir/$pkgname/"LICENSE" -t "${pkgdir}/usr/share/licenses/$pkgname/"
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)
sha256sums=(SKIP # runit-service-scripts
2024-01-02 12:47:39 +01:00
3050f0484721a25d723cd0c50c4f4579d2d77b94965e28d734c19d3c4b9ec9ba) # rss.install
2023-12-09 00:53:09 +01:00
2024-06-12 02:31:47 +02:00
## 3d51194cd7e12b5535d6fc6ae8c91ff2536f0cad2b1fb5e689e6215ecb8117c4 runit-service-scripts-20240612-01-x86_64.pkg.tar.lz