summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythinstall/PKGBUILD
blob: 130b5642a7fb7590a77728c9422a809f247ea745 (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
# Maintainer: Jams
pkgname=mythinstall
pkgver=2
pkgrel=16
pkgdesc="LinHES installer/systemconfig GUI."
arch=i686
depends=()
makedepends=('mythtv>=0.22')

source=(mythinstall.bin)

build() {

#   It is assumed that you have built the mythtv package in the same 
#   LinHES-PKGBUILD area.
    cd $startdir
    ./checkout_MythVantage.sh || exit 1
    cd -
    install -D MythVantage-app/mythinstall/install-ui.xml $pkgdir/usr/share/mythtv/themes/default/install-ui.xml
    MVBINDIR=$startdir/pkg/usr/MythVantage/bin
    mkdir -p $MVBINDIR
    install -m 0755 mythinstall.bin $MVBINDIR/MythVantage
    cd $MVBINDIR
    ln -s MythVantage mythvantage
    ln -s MythVantage mythinstall
    cd -

}