summaryrefslogtreecommitdiffstats
path: root/abs/core/poweroff-scripts/PKGBUILD
blob: f15cddf71bbfb7236d7fa5fe826d986945c40b2f (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=2
pkgdesc="replacement scripts to work with sysvinit and runit"
license=('GPL')
depends=('sysvinit>=2.88' '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')

build() {
  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=('e84d487ebd5c3cccd3477988efad3080'
         '263198ec006b87891ea0f3ab1d103086'
         '3ec5f3013dcbd60b6b957d17ba220585'
         '953653da83f5188d51373abf4a42ba05')