pkgname=LinHES-system pkgver=1.0 pkgrel=34 arch=('i686') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin install=LinHES.install pkgdesc="scripts and things related to having a automated system" depends=(linhes-sounds) binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh" source=(LinHES-session LinHES-profile.sh $binfiles) 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 #mkdir -p $BINDIR 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 }