#!/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=joborun66
pkgver=0.1
pkgrel=04
pkgdesc='for runit and 66 to coexist the 4 conflicting power functions must be separate in /usr/bin/s6 and /usr/bin/run '
groups=(base)
arch=(any)
depends=(sh)
source=(halt poweroff reboot shutdown)

package() {
  install -Dm755 halt "${pkgdir}"/usr/local/bin/halt
  install -Dm755 poweroff "${pkgdir}"/usr/local/bin/poweroff
  install -Dm755 reboot "${pkgdir}"/usr/local/bin/reboot
  install -Dm755 shutdown "${pkgdir}"/usr/local/bin/shutdown
}

#---- license gpg-key sha256sums ----

license=('GPL')

sha256sums=(1ef6a85ecd951c7f03fa0512fe3d0de2a75c971ea30618174a1471ef831be426 # halt
	0e85b128a79d8dd6c23601bc2e97a494712ba20e9b3e45410ac74900fb343892 # poweroff
	f117e88f5c8fa44bdec761ff52f6bd9590fd56d7618d4a7076bdb1340550f544 # reboot
	503229263c74d293162eac25473a92fcc55a9436a29122740f99013ab992b9ae) #  shutdown
