pkgname=LinHES-config pkgver=2.3 pkgrel=177 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config ) pkgdesc="Install and configure your system" depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted' 'sg3_utils' 'nmbscan' 'system-templates' 'rsync' 'python-parted' 'python-pexpect' 'python-netifaces' 'python-iplib' 'mythinstall>=2-10' 'sudo' 'setserial') #LinHES-timezone arch=('i686' 'x86_64') source=(mv_install.py 09_mythvantge_runit_grub mv_config.py myth_user_call file_time_offset.py install_proxy.sh install_functions.sh systemconfig.sh install_db_chroot.sh restore_default_settings.sh myth_settings_wrapper.sh xconfig.sh timezip.py soundconfig.sh LinHES-release 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_ddns.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 mv_supplemental.py mv_vnc.py mv_fileshare.py systemconfig.py myth_user_call.py mythvantage.cfg config-sudo.rules hdhr.conf blacklist_nouveau.conf blacklist_pcspkr.conf print_xorg_res.py backend_control.sh ) backup=(etc/mythvantage.cfg) install=config.install build() { mkdir -p $startdir/pkg/etc mkdir -p $startdir/pkg/usr/share/mythtv/themes/default install -D -m0755 09_mythvantge_runit_grub $startdir/pkg/etc/grub.d/09_mythvantge_runit_grub 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 -m 0700 myth_user_call.py $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 myth_settings_wrapper.sh $MVDIR/bin/myth_settings_wrapper.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_ddns.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 mv_supplemental.py $MVDIR/bin/ install -m 0755 mv_vnc.py $MVDIR/bin/ install -m 0755 mv_fileshare.py $MVDIR/bin/ install -m 0755 systemconfig.py $MVDIR/bin/ install -m 0755 print_xorg_res.py $MVDIR/bin/ install -m 0755 backend_control.sh $MVDIR/bin/ install -m 0755 mythvantage.cfg $startdir/pkg/etc/ #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 #sudo rules mkdir -p $startdir/pkg/etc/sudoers.d/ chmod 750 $startdir/pkg/etc/sudoers.d/ chown -R root:root $startdir/pkg/etc/sudoers.d install -o root -g root -m 0750 config-sudo.rules $startdir/pkg/etc/sudoers.d/config_sudo #sysctrl conf install -o root -g root -D -m 0755 hdhr.conf $startdir/pkg/etc/sysctl.d/hdhr.conf #modules blacklist files install -o root -g root -D -m 0755 blacklist_pcspkr.conf $startdir/pkg/etc/modprobe.d/blacklist_pcspkr.conf install -o root -g root -D -m 0755 blacklist_nouveau.conf $startdir/pkg/etc/modprobe.d/blacklist_nouveau.conf } md5sums=('6a9a22b3c3cb74d9f1ac595cf437a7b7' 'f33e1a6f7985091b8d47cbaf7433f90f' '17677b9e25b8fe3511ad3a139ed91eea' '2596460462cf6c889cf8f95485537b20' '985891a43f7c4c983eb2a362162f1a0f' 'fda01259a4bc74d83c9092d338bd247a' '768504ef10ecd11a22875ccea9fcf62b' 'f73d6d6f98839e900cb6685bf5dc4eae' '408688e3bcb2cefe512f9a89863137c8' '2a7f3b34e522acfd08283b86c8926aba' '157906733642835bd7a3ff4e32771c8e' '689b01f7636e09b2f9657c6ce6006ee7' 'b02bc06fc6623bf6473175165578e1d5' 'a6faa20d905e2fd92ce79acab044b759' '8ba06c2ce6129371548cc360ccca27f8' '5f890ea9bda6aef652d2560ca19dac07' 'ab2aa42c2947148c2b1cac0ade6d1d55' 'd429b59d3cfb37b0624c6a4a71a7c2c0' 'f6a935c35123fdc7c259c01cbc794a64' '9151c74fcaf18ec4cf5e757cfdbc7017' '3d1e4a119f38cff0498bf8a67e94e4b3' '71fd2d0d448fc2fcd15415a1beed7109' 'af6b3c5ec0d974b3e19ff1ed50662ee5' 'cbc7cb10bde9a133e16fb63df6242f29' 'b845de3e05c1734cce4b9ac5e8f1baaf' 'a971121bc0b447d3b525778e73985c40' '8b7dce4a3a0a281fa6656aa8781a648e' 'f7f2dc11d1ba454cd25eeaa133104b62' '824e49d9b01fed295c704ab68908b464' 'fe5e31b833cc6707209e9d656b6eb53c' 'ecb52b9b7a9ac0c8988093c1dfdda635' '087a0ef743bc8af915503f8773536ce4' '1aa69e89034def751177cbd96c64e4ef' 'b4900090d841d3e390cb840cf16afd85' '6dd202ec664ede468e42edf600f7913d' 'c9c9390ac12145169dfe9a76896db328' 'f48b04d714c93146d8711531c266800a' '2596460462cf6c889cf8f95485537b20' '4cba2bb55c6b8e27c57a6171f42d0455' '4804aa93aaad3dfcfff08cd9ffd68836' '0fa6fffd87f350380d45f1f8a5b7babe' '6ec39b010c0ed8901ea896c7e153d330' '3866086e6af5e3528a66eff492f2f4dd' 'c9279fa095af624ee3d9bc75d3328360' '02cf69074d2bbacef05fa3e451af9af3')