pkgname=mythvantage-live pkgver=5.3.3 pkgrel=10 provides="linhes-live" pkgdesc="components for the Live System." depends=() arch=( i586 i686 x86_64 ) license=('GPL') build() { # setup the local environment: local rDir=bin eDir=etc lDir=lib sDir=session-save oDir=opt/$pkgname local srcDir=${startdir}/src pkgDir=${startdir}/pkg local insDir=${pkgDir}/$oDir proDir=${pkgDir}/${eDir}/profile.d mkdir -p $pkgDir $insDir $proDir cp -dr ${startdir}/$eDir $pkgDir local pthDir= echo 'export PATH=${PATH}:'"/$oDir/$rDir" > ${proDir}/${pkgname}.sh cp -dr ${startdir}/$lDir $pkgDir cp -dr ${startdir}/$rDir $insDir [ -d ${startdir}/$sDir ] && cp -dr ${startdir}/$sDir $insDir chown -R root.root $pkgDir return 0 } # End #change hook1 to wait for usb cdroms #removed the word cdrom from sysinit