summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/PKGBUILD
blob: 686d3bcc446fab3a3a32719107d30cb7415cd4b7 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
pkgname=LinHES-system
pkgver=2
pkgrel=60
arch=('i686')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin
install=LinHES.install
pkgdesc="scripts and things related to having an  automated system"
depends=(linhes-sounds xdotool fluxbox tilda keylaunch python_aosd 'linhes-scripts>=7-24' 'runit-scripts>=2.1.1-43' 'udisks' 'LinHES-config>=2.3-59')
backup=(etc/modprobe.d/alsa-base)
binfiles="LinHES-start optimize_mythdb.py
 myth_mtc.py myth_mtc.sh LinHES-run
 firstboot.sh load-modules-mythvantage.sh
 unclutter-toggle.sh tvterm.sh
 mythfrontend-start set_windowmanager.sh
 myth_status.py myth_status.sh
 xmsg.py install_supplemental_service.sh
 lh_system_backup_job
 lh_system_restore_job
 lh_system_host_update
 lh_system_all_host_update
 add_storage.py
 diskspace.sh
 cacheclean lh_message.sh switch_web.sh
 misc_recent_recordings.pl
 misc_status_config.py
 misc_status_info.sh
 misc_upcoming_recordings.pl
 misc_which_recorder.pl"

source=(LinHES-session LinHES-profile.sh $binfiles alsa-base myth_mtc.lr 
 diskspace smolt.cron cacheclean.cron)
build() {
        cd $startdir/src
        install -m755 -D LinHES-session $startdir/pkg/etc/X11/Sessions/LinHES
    	install -m755 -D LinHES-profile.sh $startdir/pkg/etc/profile.d/LinHES-profile.sh
        ####### install to /usr/LH/bin
        for i in $binfiles
        do
        	item=$i
        	install -m755 -D $item $MVDIR/bin/$item
        	echo $item
        done

        cd $startdir/bin
        for i in *
        do
        	item=$i
        	install -m755 -D $item $MVDIR/bin/$item
        	echo $item
        done	

        install -m644 -D $startdir/src/alsa-base $startdir/pkg/etc/modprobe.d/alsa-base.conf
        install -m755 -D $startdir/src/smolt.cron $startdir/pkg/etc/cron.weekly/smolt.cron
        install -m755 -D $startdir/src/cacheclean.cron $startdir/pkg/etc/cron.weekly/cacheclean.cron
        install -m755 -D $startdir/src/diskspace $startdir/pkg/etc/cron.tenminutes/diskspace
        mkdir $startdir/pkg/etc/logrotate.d
        cp $startdir/myth_mtc.lr $startdir/pkg/etc/logrotate.d
}
md5sums=('d1a5963c5a440a608031c6d750232633'
         '5881bdb43d578ec3a79d1f77ea58a3db'
         'a875ee97f86e46f34a741c2bc455f894'
         '76b2637cac0452b3acdbeeb4e8a5474b'
         'd1f27cb422010077c841376526fe46ea'
         '2ef9f945e034119f77d9b6beb17e4fa5'
         '4b4585ccba30595cf958d202997c57f7'
         'cbe4cba14fa9d01a62e2196edc1bd98b'
         'dc3eef2a624754e16805d72bbe488b67'
         'dc0be354ce77ba2b89868fc29b942c43'
         '542e670e78d117657f93141e9689f54d'
         '41951459ea9d2b0567be521b67e6285a'
         'ba351b92e69bcaf26a9bf80417b09c3c'
         '4545eb39213d40b5a2bdeda5e066cdc4'
         '962a3e9eaba2d1466251b7ab0956705d'
         'd03aedeeeda0f5e9c1eb437411c88477'
         '94ce8f1d5085c0db7b267db8c2e9a3ff'
         '16a2a3347961517fe7d95a2956a091a6'
         '9c2294ccfd5359583497a6b03d918a27'
         '859a80ddb4c234506379c605114c1343'
         '47e093e8cfe4b5b96602358e1f540832'
         '6faeba0aeb38e772121f751cabda8683'
         '68e3e87571f3b0fa4a48a10df50dc220'
         '9603b0ca6e090eff31e76482a3c335e7'
         'b798ee0796d1b760a2998f90eb8ce9cc'
         '4a3cd8f9b33b2b86fdba47a8f1fa2859'
         '06a628469051237943b7c874f2e29b8a'
         '54ebcc024db2e0ebe8121305d8926767'
         '45f46d1f9193c8dde18e56369ec29a1e'
         'a8edbe7bc37e9932e8749d9f5f89c16f'
         '116b0f62ed4e8dd6e437930deeb6e49e'
         'eb879fee9603a05d5420d4ce8ed9e450'
         'f1870a9522c79e6b248fcbf81dec3280'
         '84492954db16740f949d795b74383189'
         'abe887472a170bd1a8e6da6a7b7e93e4'
         '02c810c2f47b7c4495fdacaf54189473')