pkgname=poweroff-scripts
pkgver=1.1
pkgrel=7
pkgdesc="Replacement power scripts to work with systemd and runit"
license=('GPL')
depends=('systemd-sysvcompat' 'runit>=2.1.1-6')
makedepends=()
conflicts=()
replaces=()
backup=()
install=poweroff-scripts.install
source=(halt.script reboot.script poweroff.script shutdown.script)
arch=('i686' 'x86_64')

package() {
  install -d $pkgdir/usr/bin/
  install -m0755 $srcdir/reboot.script $pkgdir/usr/bin/reboot
  install -m0755 $srcdir/halt.script  $pkgdir/usr/bin/halt
  install -m0755 $srcdir/poweroff.script  $pkgdir/usr/bin/poweroff
  install -m0755 $srcdir/shutdown.script  $pkgdir/usr/bin/shutdown
}
md5sums=('b0af95f1fc03d51a8e40d86ca59749e9'
         '23d8541b77ab539a2b66cab58f78dcff'
         'cd23d47abf536f3874bc24f044dea682'
         '8898528f9da8458115480bfee0100300')