summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-scripts/PKGBUILD
blob: 917d927032ab91bee2b82ffd5ac95c2089027d5e (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $Id: PKGBUILD 5936 2008-07-21 20:24:16Z thomas $
# Maintainer: Cecil Watson<knoppmyth@gmail.com>

pkgname=linhes-scripts
pkgver=1
pkgrel=42
pkgdesc="Various scripts that help to make LinHES, LinHES."
arch=('i686' 'x86_64')
license=('GPL2')
depends=('xosd' 'cpulimit')
url="http://linhes.org/"
source=(
myth2xvid
shootscreens.sh
mplayer-resumer-vdpau.pl
run-pause-mythcommflag
shootscreens-mythtv.sh
importfiles.sh
myth2mp3
mplayer-resumer.pl
mythwelcome-test-wakeup.sh
pause-mythcommflag.sh
myth2x264
770-wrapper.sh
mythwelcome-set-alarm.sh
pause_mythcommflag
limit-mythcommflag.sh
vdpau-detector
idle.sh
screenshooter.sh
run-limit-mythcommflag
linhes_update.sh
linhes_update2.sh
linhes_update3.sh
install_hulu.sh
update_schema_021_to_022.sh
)

build() {
  cd $startdir/src
  mkdir -p $startdir/pkg/usr/LH/bin
  install -D -m755 myt* 770* *.sh imp* shoo* *commflag*sh mplayer* vdpau* screen* linhes_* install_hulu.sh $startdir/pkg/usr/LH/bin
  mkdir -p $startdir/pkg/etc/sv/pause-mythcommflag/supervise
  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/
}