summaryrefslogtreecommitdiffstats
path: root/abs/not_built/core/linhes-live/PKGBUILD
blob: c86e3cc30d1683b80e0d68e5b4c1f47ce4af2306 (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
31
32
# 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