summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/PKGBUILD
blob: ee88800a49c2cb352afcaa79f048b34ad87c6111 (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
29
30
pkgname=runit-scripts
pkgver=2.1.1
pkgrel=33
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
depends=('glibc' 'util-linux' 'initscripts' 'runit' )
makedepends=('rsync')
conflicts=()
replaces=()
backup=('etc/runit/1.local' 'etc/runit/3.local')
install=runit.install
source=(fbsplash-runit.sh)
arch=('i686')

build() {
  rsync -a --exclude=.svn --exclude=*~ $startdir/runitscripts $startdir/src
  cd $startdir/src/runitscripts
  install -d $startdir/pkg/etc/
  install -d $startdir/pkg/etc/runit/
  install -d $startdir/pkg/etc/sv
  install -d $startdir/pkg/sbin
  install -d $startdir/pkg/etc/rc.d/functions.d

  install -m0700 1 2 3 1.local 3.local ctrlaltdel $startdir/pkg/etc/runit
  install -m755 $startdir/src/fbsplash-runit.sh $startdir/pkg/etc/rc.d/functions.d/fbsplash-runit.sh
  install -m0755 reboot-runit halt-runit logger $startdir/pkg/sbin
  rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv
}
md5sums=('45d0b0c6ad9b00eeaaef3341245a8d4c')