# Maintainer: R. Dale Thomas <rdt[at]KnoppMyth[dot]net>
# 2008.09.25
pkgname=linhes-live
pkgver=5.3.3
pkgrel=25

pkgdesc="LinHes compulsory components for the Live System."
url="http://KnoppMyth.net"
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
#add extra login to f_remountro for vmware/usb