jobcore/runit-service-scripts/PKGBUILD

44 lines
1.6 KiB
Bash
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
2024-01-02 12:47:39 +01:00
pkgver=20240102
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)
url="https://git.disroot.org/joborun-pkg/repos/raw/branch/main"
2024-01-02 12:47:39 +01:00
# this url_src is where the entire content of the runit-sv*.tar.xz is kept
# so collaborators can easily submit changes to be passed to packaging
url_src="https://git.disroot.org/joborun/runit-service-scripts"
source=($url/runit-sv6.tar.xz
2023-12-09 00:53:09 +01:00
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)
2024-01-02 12:47:39 +01:00
sha256sums=(04b51eed34d81e984d1cab3aad89a545eaf71a49a9340a73fca1c303373aa830 # runit-sv6.tar.xz
3050f0484721a25d723cd0c50c4f4579d2d77b94965e28d734c19d3c4b9ec9ba) # rss.install
2023-12-09 00:53:09 +01:00
2024-01-02 12:47:39 +01:00
## 143b0607f5a47e0e39d2b065dc942be151e9dcbd8c34779e985026c9fb0ec445 runit-service-scripts-20240102-01-x86_64.pkg.tar.lz
2023-12-09 01:05:55 +01:00