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

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 $startdir/mythinstall.bin $MVBINDIR/MythVantage
    cd $MVBINDIR
    ln -s MythVantage mythvantage
    ln -s MythVantage mythinstall
    cd -

}