summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/PKGBUILD
blob: c8d791e63dd9e44f28be899db6745c6cfc1e79bd (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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
pkgname=LinHES-system
pkgver=8.0
pkgrel=30
arch=('i686' 'x86_64')
install=system.install
pkgdesc="Everything that makes LinHES an automated system"
license=('GPL2')
depends=('linhes-sounds' 'xdotool' 'tilda' 'keylaunch'
        'python_aosd' 'udisks' 'LinHES-config>=2.3-59' 'sudo'
        'python2-dbus' 'unclutter' 'wmctrl' 'archlinux-xdg-menu'
        'ethtool' 'gnu-netcat' 'normalize' 'ttf-overlock'
        'handbrake-cli' 'mkvtoolnix' 'mplayer')
backup=('etc/modprobe.d/alsa-base.conf')
binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh
 LinHES-run load-modules-mythvantage.sh unclutter-toggle.sh tvterm.sh
 mythfrontend-start set_windowmanager.sh myth_status.py myth_status.sh
 install_supplemental_service.sh get_airplay_key importfiles.sh
 lh_system_backup lh_system_backup_job lh_system_restore_job
 lh_system_host_update lh_system_all_host_update
 add_storage.py diskspace.sh cacheclean lh_backend_control.sh
 create_media_dirs.sh msg_client.py msg_daemon.py
 gen_is_xml.py gen_lib_xml.py gen_light_include.py gen_game_xml.py
 misc_recent_recordings.pl misc_status_config.py misc_status_info.sh
 misc_upcoming_recordings.pl misc_which_recorder.pl
 change_channel.sh change_channel_wrapper.sh stop_xss.sh
 be_check.py checkXFSfrag.sh find_orphans.py idle.sh xwin_find.sh
 linhes_update.sh linhes_update2.sh myth2mkv myth2mp3 ripD_eject.sh
 mythwelcome-config.py mythwelcome-set-alarm.sh mythwelcome-test-wakeup.sh"

source=(LinHES-session LinHES-profile.sh $binfiles
    alsa-base diskspace.cron cacheclean.cron xfs_defrag.cron
    readme_is_xml readme_light add_storage.readme
    system-sudo.rules )

package() {
    cd $srcdir

    MVDIR=$pkgdir/usr/LH
    BINDIR=$pkgdir/usr/bin

    install -m755 -D LinHES-session $pkgdir/etc/X11/Sessions/LinHES
    install -m755 -D LinHES-profile.sh $pkgdir/etc/profile.d/LinHES-profile.sh
    
    #files install to /usr/LH/bin
    for i in $binfiles
    do
        item=$i
        install -m755 -D $item $MVDIR/bin/$item
        echo "installing $item to $MVDIR"
    done

    install -m644 -D $srcdir/alsa-base $pkgdir/etc/modprobe.d/alsa-base.conf

    #readme files
    install -m644 -D $srcdir/readme_is_xml $pkgdir/etc/gen_is_xml.d/readme_is_xml
    install -m644 -D $srcdir/readme_is_xml $pkgdir/etc/gen_lib_xml.d/readme_gen_xml
    install -m644 -D $srcdir/readme_is_xml $pkgdir/etc/gen_game_xml.d/readme_gen_xml
    install -m644 -D $srcdir/readme_light  $pkgdir/etc/gen_light_conf.d/readme_gen_light
    install -m644 -D $srcdir/add_storage.readme $pkgdir/etc/storage.d/readme

    #cron files
    #install -m755 -D $srcdir/smolt.cron $pkgdir/etc/cron.weekly/smolt.cron
    install -m755 -D $srcdir/cacheclean.cron $pkgdir/etc/cron.weekly/cacheclean
    install -m755 -D $srcdir/diskspace.cron $pkgdir/etc/cron.tenminutes/diskspace
    install -m755 -D $srcdir/xfs_defrag.cron $pkgdir/etc/cron.weekly/xfs_defrag

    #sudo rules
    mkdir -p $pkgdir/etc/sudoers.d/
    chmod 750 $pkgdir/etc/sudoers.d/
    chown -R root:root $pkgdir/etc/sudoers.d
    install -o root -g root -m 0750 $srcdir/system-sudo.rules $pkgdir/etc/sudoers.d/system_sudo

}

md5sums=('5ee78704cab0e88ec58d1aab821fc1aa'
         'de32a1c50101265dd7f6ca5037f7a26a'
         'a875ee97f86e46f34a741c2bc455f894'
         '76b2637cac0452b3acdbeeb4e8a5474b'
         '781c977f8872543f033dad2caaf0458e'
         '6f5b757524d905b5d2420519a88edc93'
         '4b4585ccba30595cf958d202997c57f7'
         'dc3eef2a624754e16805d72bbe488b67'
         '617af86b901538817ebdcaf646248dc5'
         '542e670e78d117657f93141e9689f54d'
         '41951459ea9d2b0567be521b67e6285a'
         'bb72ab230c7a71706285bd0f31a4fb1f'
         '692563448cca1d49f45e7d1c8abcaa0c'
         '962a3e9eaba2d1466251b7ab0956705d'
         '1758aed160de64abfafb28a3a8f3390e'
         '33fbebbd546672cedd3c5e7350ab414e'
         'c773d8caacba8fbd4968e8afe5137bc6'
         '3edef50a49a47694bf8add39cc160add'
         '5e17e0786afd891550a660f646076308'
         'bc69a520add58ede9b060c73e67ace13'
         '26fdd26e945f0c187f9fdcf98a7a5bef'
         '47e093e8cfe4b5b96602358e1f540832'
         'a8e486f5d23913242b6edb862bf44c0e'
         '2c005d95312018bef80092136f80f254'
         '6519d209e151cdc39ae7e1091d189c3e'
         '8f474e019d5fcb775497aca355d61b0b'
         '16f079dab35dde6efd55bf6cf4e2fb2f'
         '3e60b17892e5b8214d47dcfddf5215a4'
         '57ec994cc3964a10c00580e89ebcae35'
         'ea315f41dcd6c978e546c95fc05546cf'
         'ac61cc460d9e97ba1f5ef69e92cdfbe5'
         'f3502bb7c665750da0ecdf6918f7c838'
         'b7febd04f64fe21e8cfbb888219b0b31'
         '06a628469051237943b7c874f2e29b8a'
         '8fe86aa9109a285aedce3c8658952bbb'
         '45f46d1f9193c8dde18e56369ec29a1e'
         '145b1da6ce501b3ce38ea415a576bf2d'
         '116b0f62ed4e8dd6e437930deeb6e49e'
         '17f678d37187be0f12d67f64e40429c6'
         'bacc813b48bafcc6fe906e5969930501'
         '8e02efe1ad0df9a179075147eebb05b9'
         '8b0298f70f97cc1dc2a58b9a73c64bd3'
         '911b0fbc8d9178dac1a193346c9decaf'
         '34fc1f58ad1eabf4eff4979d420760c0'
         'c3ada01d3a739abe3f920b02d4ea3f6e'
         'a94fe6d980f4b810f2e2ae5352084b39'
         'e1011e0df090372cccc03ecf9d6805c7'
         '5727da2f13541b0cde2aea0ab94d4960'
         '503df99218373dfc75e7e7f5e449a44e'
         '4a1fda884dcd7d65fb2690fbdbd92a83'
         '2b7fe3b57592823a4c7e3ec132dcb7f4'
         '92950f0ffb1faf1ed64c6be2b8fbc3f6'
         '95c092f67036a361ef7a57436f44332e'
         '410795ef9039e4c6c0484e706ecfd567'
         'eb879fee9603a05d5420d4ce8ed9e450'
         '84492954db16740f949d795b74383189'
         '02c810c2f47b7c4495fdacaf54189473'
         '474d5c6883fcfffae4f199aceb3b1356'
         '36bdfa8d877cea20ca3870faf08e08d5'
         '59d0602bac7e06f11abba1894acc8bb0'
         'da432d68962e109e09beb2b71c8c8571'
         '366ccb097d1c221389709485c3b2d159')