pkgname=LinHES-system pkgver=2 pkgrel=118 arch=('i686' 'x86_64') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin install=system.install pkgdesc="scripts and things related to having an automated system" depends=(linhes-sounds xdotool tilda keylaunch python_aosd 'linhes-scripts>=7-24' 'udisks' 'LinHES-config>=2.3-59' 'sudo' 'python2-dbus' 'unclutter' 'wmctrl' 'archlinux-xdg-menu') backup=(etc/modprobe.d/alsa-base) 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 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 switch_web.sh create_media_dirs.sh msg_client.py msg_daemon.py gen_is_xml.py gen_lib_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" source=(LinHES-session LinHES-profile.sh $binfiles alsa-base myth_mtc.lr diskspace cacheclean.cron readme_is_xml add_storage.readme system-sudo.rules ) 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 "installing $item to $MVDIR" done cd $startdir/bin for i in * do item=$i install -m755 -D $item $MVDIR/bin/$item echo "bin stuff: $item" done install -m644 -D $startdir/src/alsa-base $startdir/pkg/etc/modprobe.d/alsa-base.conf install -m644 -D $startdir/src/readme_is_xml $startdir/pkg/etc/gen_is_xml.d/readme_is_xml install -m644 -D $startdir/src/readme_is_xml $startdir/pkg/etc/gen_lib_xml.d/readme_gen_xml install -m644 -D $startdir/src/add_storage.readme $startdir/pkg/etc/storage.d/readme # 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 install -m644 -D $startdir/src/myth_mtc.lr $startdir/pkg/etc/logrotate.d/myth_mtc #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 $startdir/src/system-sudo.rules $startdir/pkg/etc/sudoers.d/system_sudo } md5sums=('5bd4938cf41b63787aa4cdfd76423e09' '5881bdb43d578ec3a79d1f77ea58a3db' 'a875ee97f86e46f34a741c2bc455f894' '76b2637cac0452b3acdbeeb4e8a5474b' '781c977f8872543f033dad2caaf0458e' '2ef9f945e034119f77d9b6beb17e4fa5' '4b4585ccba30595cf958d202997c57f7' 'dc3eef2a624754e16805d72bbe488b67' 'dc0be354ce77ba2b89868fc29b942c43' '542e670e78d117657f93141e9689f54d' '41951459ea9d2b0567be521b67e6285a' '659c0a55b0b375c48fcd751252dd2102' '309638acf596ce3c790aa2bf5c7c9880' '962a3e9eaba2d1466251b7ab0956705d' '1758aed160de64abfafb28a3a8f3390e' '5510042c80283522f480e95d6242495c' 'ceec78815ed01af733cdbca14cb0942b' '1be1d3dfc83f828eede93055713882ae' '47e093e8cfe4b5b96602358e1f540832' '9f08fb2e821297841f1849c6221b87cb' 'b9b0a8370f46f0b5e144a66897e8eefb' '6519d209e151cdc39ae7e1091d189c3e' '8f474e019d5fcb775497aca355d61b0b' '4a3cd8f9b33b2b86fdba47a8f1fa2859' '4d5a2441fe681c85986c5626c2944a3d' '0e76cd8f320a852a162931450a1fb8b7' '55b33e6a08eeea2a5280da0100f2c33c' 'ea315f41dcd6c978e546c95fc05546cf' 'ac61cc460d9e97ba1f5ef69e92cdfbe5' '06a628469051237943b7c874f2e29b8a' '54ebcc024db2e0ebe8121305d8926767' '45f46d1f9193c8dde18e56369ec29a1e' 'a8edbe7bc37e9932e8749d9f5f89c16f' '116b0f62ed4e8dd6e437930deeb6e49e' '0ca244610ab1f68f70a8af0ddefee277' 'bacc813b48bafcc6fe906e5969930501' 'eb879fee9603a05d5420d4ce8ed9e450' '6782771960c495aeb597893f37d1e5ee' '84492954db16740f949d795b74383189' '02c810c2f47b7c4495fdacaf54189473' '1e2ca4dd872a50df6b70528e06df558a' 'da432d68962e109e09beb2b71c8c8571' '366ccb097d1c221389709485c3b2d159')