pkgname=LinHES-system pkgver=2 pkgrel=56 arch=('i686' 'x86_64') 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 tilda keylaunch python_aosd 'linhes-scripts>=7-24' 'udisks' 'LinHES-config>=2.3-59' 'sudo' 'python2-dbus' 'unclutter') 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 msg_osd.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 create_media_dirs.sh msg_client.py msg_daemon.py gen_is_xml.py" source=(LinHES-session LinHES-profile.sh $binfiles alsa-base myth_mtc.lr diskspace cacheclean.cron readme_is_xml) 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 -m644 -D $startdir/src/readme_is_xml $startdir/pkg/etc/gen_is_xml.d/readme_is_xml # 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=('e3838fc12af7aaa8e738683b1034b43c' '5881bdb43d578ec3a79d1f77ea58a3db' 'a875ee97f86e46f34a741c2bc455f894' '76b2637cac0452b3acdbeeb4e8a5474b' '781c977f8872543f033dad2caaf0458e' '2ef9f945e034119f77d9b6beb17e4fa5' '4b4585ccba30595cf958d202997c57f7' 'dc3eef2a624754e16805d72bbe488b67' 'dc0be354ce77ba2b89868fc29b942c43' '542e670e78d117657f93141e9689f54d' '48b763dba127aac6ab05c84643f83b71' '148d108b5dd4bb6ae03fcd8b95834e17' '294e54209538018008323d164ce39fb3' '962a3e9eaba2d1466251b7ab0956705d' 'd03aedeeeda0f5e9c1eb437411c88477' '94ce8f1d5085c0db7b267db8c2e9a3ff' '16a2a3347961517fe7d95a2956a091a6' '9c2294ccfd5359583497a6b03d918a27' '859a80ddb4c234506379c605114c1343' '47e093e8cfe4b5b96602358e1f540832' '6faeba0aeb38e772121f751cabda8683' 'b8f0414427c5d9afdc32ceb3ae56f82a' '6519d209e151cdc39ae7e1091d189c3e' 'a98d41e6d9286d01cc99a32db3cbc397' '4a3cd8f9b33b2b86fdba47a8f1fa2859' '717b80d5069188ccef52001de0df0c21' 'a182af47a7d373b2a63a27e1bb7485b2' '5148fe4c6ac27fff8152c819c4d2b47a' 'fd21c1b19331581d603d5949c90d5c61' 'eb879fee9603a05d5420d4ce8ed9e450' 'f1870a9522c79e6b248fcbf81dec3280' '84492954db16740f949d795b74383189' '02c810c2f47b7c4495fdacaf54189473' '93a2af3e723f36c063623f705330d337')