summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/mythvantage-live/PKGBUILD
blob: 1039b71fd600f261f1d5c9c2546662a9ac1c755d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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