diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-09-10 18:06:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-09-10 18:06:28 (GMT) |
commit | c4a8e594cea72515b59ad0167611dc48ed0e4092 (patch) | |
tree | ce9d410f2fa337934256ae84145bff6e81d35f10 /abs/core | |
parent | a83690437992a2822e204df7ddc57ad3540dff43 (diff) | |
download | linhes_pkgbuild-c4a8e594cea72515b59ad0167611dc48ed0e4092.zip linhes_pkgbuild-c4a8e594cea72515b59ad0167611dc48ed0e4092.tar.gz linhes_pkgbuild-c4a8e594cea72515b59ad0167611dc48ed0e4092.tar.bz2 |
runit-scripts: add package function to PKGBUILD
Diffstat (limited to 'abs/core')
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index c90f052..f3ef203 100755 --- a/abs/core/runit-scripts/PKGBUILD +++ b/abs/core/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=8.0 -pkgrel=3 +pkgrel=4 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" @@ -14,19 +14,22 @@ source=(fbsplash-runit.sh) arch=('i686' 'x86_64') 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 + rsync -a --exclude=.svn --exclude=*~ $startdir/runitscripts $srcdir +} + +package() { + cd $srcdir/runitscripts + install -d $pkgdir/etc/ + install -d $pkgdir/etc/runit/ + install -d $pkgdir/etc/sv + install -d $pkgdir/sbin + install -d $pkgdir/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 - chmod -R 755 $startdir/pkg/etc/sv - chown -R root:root $startdir/pkg/etc/sv + install -m0700 1 2 3 1.local 3.local ctrlaltdel $pkgdir/etc/runit + install -m755 $srcdir/fbsplash-runit.sh $pkgdir/etc/rc.d/functions.d/fbsplash-runit.sh + install -m0755 reboot-runit halt-runit logger $pkgdir/sbin + rsync -a --exclude=.svn services/* $pkgdir/etc/sv + chmod -R 755 $pkgdir/etc/sv + chown -R root:root $pkgdir/etc/sv } md5sums=('c79246677d5ffe687bcf6df1b9c2abc2') |