summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/PKGBUILD
blob: 04b2c9218a9a494d4652ecf7eca9967dbdca0e9d (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
28
pkgname=runit-scripts-mv
pkgver=1.8.0
pkgrel=7
pkgdesc="collection of startup scripts for runit MythVantage styel"
url="http://smarden.org/runit/"
license="BSD"
depends=('glibc' 'util-linux' 'initscripts' 'runit' )
makedepends=()
conflicts=()
replaces=()
backup=()
install=runit.install
source=()
arch=('i686')

build() {
  rsync -a --exclude=.svn $startdir/runitscripts $startdir/src
  cd $startdir/src/runitscripts
  install -d $startdir/pkg/etc/
  install -d $startdir/pkg/etc/runit/
  install -d $startdir/pkg/var/service
  install -d $startdir/pkg/etc/sv
  install -d $startdir/pkg/sbin
  install -m0700 1 2 3 ctrlaltdel $startdir/pkg/etc/runit

  install -m0755 reboot-runit halt-runit logger $startdir/pkg/sbin
  rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv
}