summaryrefslogtreecommitdiffstats
path: root/abs/core/poweroff-scripts/PKGBUILD
blob: ff32494085e79c01e4fb05b0688af0e51f1997dc (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=4
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')

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=('68ac5d7d5784e9559c9752d94a4943d5'
         '3e042113f8715bc5bfd365d2486d0108'
         '3ec5f3013dcbd60b6b957d17ba220585'
         '1dccfcd2283d4ed193511535b0b220fc')