summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/PKGBUILD
blob: 7a953a55e076ff82837272dbf48d10b543f0dd59 (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
33
34
35
36
37
38
# Maintainer: Jams
pkgname=mythinstall
pkgver=3
pkgrel=76
pkgdesc="LinHES installer/systemconfig GUI."
arch=('i686'  'x86_64')
depends=('mythtv>=0.25')
makedepends=('mythtv>=0.25')
logofiles=`ls logo*.png`
source=('install-ui.xml' $logofiles)

build() {
#   It is assumed that you have built the mythtv package in the same 
    cd $startdir
    cd -
    #install -D MythVantage-app/mythinstall/install-ui.xml $pkgdir/usr/share/mythtv/themes/default/install-ui.xml
    install -D $srcdir/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 -
    
    for i in $logofiles
    do
       install -D -m 0755 $startdir/$i $startdir/pkg/usr/MythVantage/logos/$i
    done

}
md5sums=('39d6b7bd1ee305c5523a3cf66d4c2338'
         '137ba1bf74cc13feb1ca0038dc5ed5fc'
         '1d5064ac3c871f0aa895c95a71ba5c97'
         'b4f9b52cdd2936e0a8dd4e3dd7cac344'
         '4e748680e67ff8bd0614fd5c63abda9c'
         '72fc7d8147c08336dd1064f9051f43ea'
         'f6705520bc0a6655157cd14efdaac746')