From 89d0d25ef917ac4f0a5d7345f478605bf4489e26 Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Thu, 9 Jul 2009 20:19:54 -0700
Subject: added limit-mythcommflag.sh and a runit script for it...it requires
 cpulimit which I added to the depends array updated myth2mp3, myth2xvid and
 myth2x264 and fixed the mythwelcome.  Closes FS341.

---
 abs/core-testing/linhes-scripts/PKGBUILD | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/abs/core-testing/linhes-scripts/PKGBUILD b/abs/core-testing/linhes-scripts/PKGBUILD
index 8875c69..e939079 100644
--- a/abs/core-testing/linhes-scripts/PKGBUILD
+++ b/abs/core-testing/linhes-scripts/PKGBUILD
@@ -3,20 +3,22 @@
 
 pkgname=linhes-scripts
 pkgver=1
-pkgrel=15
+pkgrel=16
 pkgdesc="Various scripts that help to make LinHES, LinHES."
 arch=('i686' 'x86_64')
 license=('GPL2')
-depends=(xosd)
+depends=('xosd' 'cpulimit')
 url="http://linhes.org/"
 source=(ftp://ftp.knoppmyth.net/R6/sources/linhes-scripts.tar.bz2)
 
 build() {
   cd $startdir/src/
   mkdir -p $startdir/pkg/usr/LH/bin
-  install -D -m755 myt2* 770* idle.sh imp* myth* shoo* pau*sh mplayer* vdpau* screen* mplayer* $startdir/pkg/usr/LH/bin
+  install -D -m755 myt* 770* idle.sh imp* shoo* *commflag*sh mplayer* vdpau* screen* $startdir/pkg/usr/LH/bin
   mkdir -p $startdir/pkg/etc/sv/pause-mythcommflag/supervise
-  cp run $startdir/pkg/etc/sv/pause-mythcommflag/
+  cp run-pause-mythcommflag $startdir/pkg/etc/sv/pause-mythcommflag/run
+  mkdir -p $startdir/pkg/etc/sv/limit-mythcommflag/supervise
+  cp run-limit-mythcommflag $startdir/pkg/etc/sv/limit-mythcommflag/run
   mkdir -p $startdir/pkg/etc/logrotate.d/
   cp pause_mythcommflag $startdir/pkg/etc/logrotate.d/
 }
-- 
cgit v0.12

