summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linhes-live/PKGBUILD
blob: d497fcf696bb861ea63c6b6082acdbd8543b9270 (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
# Maintainer: R. Dale Thomas <rdt[at]KnoppMyth[dot]net>
# 2008.09.25
pkgname=linhes-live
pkgver=5.3.3
pkgrel=4

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