summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
commit9431f7ae609b0877b403bad9db39aed4df159229 (patch)
treeff95f8397492cb577d8c725f90cd9503d499d5a5 /abs/core-testing/runit-scripts/PKGBUILD
parentdf5646446d84f38b695f00706a57b4c851be462a (diff)
downloadlinhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.zip
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.gz
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.bz2
move the runit init scripts into their own package.
Diffstat (limited to 'abs/core-testing/runit-scripts/PKGBUILD')
-rwxr-xr-xabs/core-testing/runit-scripts/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD
new file mode 100755
index 0000000..17758de
--- /dev/null
+++ b/abs/core-testing/runit-scripts/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=runit-scripts
+pkgver=1.8.0
+pkgrel=3
+pkgdesc="collection of startup scripts for runit"
+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
+}