summaryrefslogtreecommitdiffstats
path: root/abs/core/poweroff-scripts/PKGBUILD
blob: e5cab49f4f10b2b8da132969bb4a5648a23661a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
pkgname=poweroff-scripts
pkgver=1.1
pkgrel=5
pkgdesc="replacement scripts to work with sysvinit 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/sbin/
  install -m0755 $srcdir/reboot.script $pkgdir/sbin/reboot
  install -m0755 $srcdir/halt.script  $pkgdir/sbin/halt
  install -m0755 $srcdir/poweroff.script  $pkgdir/sbin/poweroff
  install -m0755 $srcdir/shutdown.script  $pkgdir/sbin/shutdown

}

md5sums=('a3538350e5c8e65a1418d9f1b5ff83c1'
         'c9cbd22b341cf9e566eeedba7e51ecd2'
         '58c374b2cacabac6728bb09c24e512a5'
         'c151f7a35acc0db524c290be7594f09e')