summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/PKGBUILD
blob: dbad0e3832c4d06c5aad9a7b1169f4aa209702f0 (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
pkgname=LinHES-config
pkgver=2.0
pkgrel=29
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
depends=(linhes-timezone bc libstatgrab  mysql-python expect curl dnsutils parted sg3_utils nmbscan system-templates rsync python-parted ddcxinfo)
arch=('i686')

source=(mv_install.py mv_config.py 
#mythinstall.bin 
myth_user_call file_time_offset.py install-ui.xml install_proxy.sh install_functions.sh systemconfig.sh install_db_chroot.sh restore_default_settings.sh xconfig.sh timezip.py soundconfig.sh LinHES-release issue MythVantage.sh create_master.sh build_diskless.sh networkconfig.sh autocard.py restore_km_db_chroot.sh README  mv_advanced.py  mv_common.py   mv_ir.py  mv_misc.py  mv_network.py  mv_screensaver.py  mv_smolt.py  mv_software.py  mv_webuser.py mv_hostype.py systemconfig.py)

install=LinHES.install
build() {
    mkdir -p $startdir/pkg/etc
    mkdir -p $startdir/pkg/usr/share/mythtv/themes/default

    MVDIR=$startdir/pkg/usr/MythVantage
    mkdir  $startdir/pkg/etc/profile.d
    install -m 0755 MythVantage.sh  $startdir/pkg/etc/profile.d/MythVantage.sh
    mkdir -p $MVDIR/bin
    mkdir -p $MVDIR/etc

    #copy in all the installer specific stuff
    install -m0700 myth_user_call  $MVDIR/bin/myth_user_call
    install -m 0755 install_proxy.sh  $MVDIR/bin/install_proxy.sh
    install -m 0755 install_functions.sh  $MVDIR/bin/install_functions.sh
    install -m 0755 systemconfig.sh  $MVDIR/bin/systemconfig.sh
    install -m 0755 xconfig.sh  $MVDIR/bin/xconfig.sh
    install -m 0755 install_db_chroot.sh $MVDIR/bin/install_db_chroot.sh
    install -m 0755 restore_km_db_chroot.sh $MVDIR/bin/restore_km_db_chroot.sh
    install -m 0755 restore_default_settings.sh $MVDIR/bin/restore_default_settings.sh
    install -m 0755 soundconfig.sh $MVDIR/bin/soundconfig.sh
    install -m 0755 networkconfig.sh $MVDIR/bin/networkconfig.sh
    install -m 0755 create_master.sh $MVDIR/bin/create_master.sh
    install -m 0755 build_diskless.sh $MVDIR/bin/build_diskless.sh
    install -m 0755 timezip.py $MVDIR/bin/timezip.py
    install -m 0755 autocard.py $MVDIR/bin/autocard.py
    install -m 0755 mv_config.py $MVDIR/bin/mv_config.py
    install -m 0755 mv_install.py $MVDIR/bin/mv_install.py
    install -m 0755 mv_advanced.py  $MVDIR/bin/
    install -m 0755 mv_common.py $MVDIR/bin/ 
    install -m 0755 mv_ir.py  $MVDIR/bin/ 
    install -m 0755 mv_misc.py  $MVDIR/bin/ 
    install -m 0755 mv_network.py  $MVDIR/bin/ 
    install -m 0755 mv_screensaver.py  $MVDIR/bin/ 
    install -m 0755 mv_smolt.py  $MVDIR/bin/ 
    install -m 0755 mv_software.py  $MVDIR/bin/ 
    install -m 0755 mv_webuser.py $MVDIR/bin/ 
    install -m 0755 mv_hostype.py $MVDIR/bin/ 
    install -m 0755 systemconfig.py $MVDIR/bin/ 

    #README file displayed on install
    install -m 0755 README $MVDIR/README

    mkdir -p $startdir/pkg/usr/bin
    install -m 0755 file_time_offset.py $startdir/pkg/usr/bin/file_time_offset.py

    #Copy in the branding stuff
    install -m 0755 LinHES-release $startdir/pkg/etc/LinHES-release
    install -m 0755 issue $startdir/pkg/etc/issue

    # copy over the ui files
    install -m 0755 install-ui.xml $startdir/pkg/usr/share/mythtv/themes/default/

    #copy in the binaries
#    install  -m 4755 mythinstall.bin $MVDIR/bin/MythVantage
    cd $MVDIR/bin
    ln -s MythVantage mythvantage
    ln -s MythVantage mythinstall
    cd -
}

md5sums=('97a75e1c2d780881566d3388532ac0f7'
         '40e3173b3f98beb1d94320eef3b60854'
         'e36da536dd651ef182e7642337889e77'
         '3baa23764e1b6bcb2d66d7d859096940'
         'd6009f9a4ff3238aa911d6e61a8c675a'
         'd7a8cd4a0060399ae22e69f74e04eb07'
         '0abe8d207147eeb306743640e33e4757'
         'f88d2fb88339a4bf8ec9217a3fbcdef7'
         '8ac1cfd2eca0f641737da0d0aca416a7'
         'd8a4a1699e04eed9ee69d58616069f33'
         '3a91b587179be4fecb2549e46821708e'
         'a02a7c0c59a1cc96d88137a41354c96a'
         'e459ed069317bccb20351f037a9df3d2'
         'd092238975aafaac4ec576d34303f762'
         '6aff504ed5e860adc1b7317cd0780900'
         '55fccb1da0417a896b724f7cfc32dd5a'
         'ab2aa42c2947148c2b1cac0ade6d1d55'
         'd429b59d3cfb37b0624c6a4a71a7c2c0'
         'a225143e3df6f56d451c2875e54ddbae'
         '1ee558ee9efec54016cb4c87c61e569c'
         '687555968d4ca688d8f95c8f13e1d8d4'
         '3d1e4a119f38cff0498bf8a67e94e4b3'
         'e9cfd0ccad3a984520780947b2f420bd'
         '5ad4a57fe6bd53ea6a5820751c476e4d'
         'cf0113438a4916a8d815a3b7bde50c42'
         '4aa795a1f5d789d5532a752606eca4df'
         '65d93f15ac85adf8299552581789a731'
         'a6c9cd6cf243daea737e4ed601c88567'
         '32385482ecc1275409b71f08d8b03acc'
         'da0a2fb1e3cdbabac1f62e8b908c5d7f'
         '30e527552ae86eb90d5c2169c6316fd1'
         'f19917bed3a1e00cbe08838bee18b4b7'
         '08282647ebf7e563cb9f3bc2ad8aee14'
         'd53f305749abdf5fca176f50b40df4fc')