blob: d8b73154d7f12f1fb7a1fc55d36a05788507bed0 (
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
|
pkgname=MythVantage-system
pkgver=1.0
pkgrel=10
arch=('i686')
MVDIR=$startdir/pkg/usr/MythVantage
BINDIR=$startdir/pkg/usr/bin
install=STB.install
pkgdesc="scripts and things related to having a automated system"
depends=(unclutter ghosd ncid func wol )
provides=(STB-system)
binfiles="playmedia.sh STB-start saytime.sh restartfrontend.sh backup_job restore_job.sh update_system update_system_all repo_sync.sh backend_control.sh load-modules-mythvantage.sh file_time_offset.py grabkey.py imdb-bulk-update.pl notify.py optimize_mythdb.py myth_mtc.py myth_mtc.sh firstboot.sh initial_db_run"
source=(startfrontend inittab STBWINDOWMANAGER smolt.cron $binfiles mfegdbcommands.txt mbegdbcommands.txt 45-event.rules)
build() {
cd $startdir/src
install -m755 -D STBWINDOWMANAGER $startdir/pkg/etc/X11/STBWINDOWMANAGER
install -m755 -D startfrontend $startdir/pkg/etc/X11/Sessions/STB
install -m755 -D mfegdbcommands.txt $MVDIR/mfegdbcommands.txt
install -m755 -D mbegdbcommands.txt $MVDIR/mbegdbcommands.txt
####### install to /usr/MythVantage/bin/
mkdir -p $BINDIR
for i in $binfiles
do
item=$i
install -m755 -D $item $MVDIR/bin/$item
echo $item
cd $BINDIR
pwd
ln -s ../MythVantage/bin/$i .
cd -
done
##########
install -m755 -D smolt.cron $startdir/pkg/etc/cron.weekly/smolt.cron
install -m755 -D 45-event.rules $startdir/pkg/etc/udev/rules.d/45-event.rules
}
|