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