summaryrefslogtreecommitdiffstats
path: root/abs/core/mythinstall/PKGBUILD
blob: 7f2bef64908423ecd413487d4317d4f0456f70b0 (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
39
# Maintainer: Jams
pkgname=mythinstall
pkgver=3
pkgrel=80
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)

package() {
#   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=$pkgdir/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 -
echo $logofiles    
    for i in $logofiles
    do
       install -D -m 0755 $srcdir/$i $pkgdir/usr/MythVantage/logos/$i
    done

}
md5sums=('39d6b7bd1ee305c5523a3cf66d4c2338'
         '3291ad55fe6d7884fc732313f1cc2924'
         '80c0326a253df275afbe875a8ec14a3c'
         '46925d6fbcb7ec1fc51714d03ac6b72d'
         '27ce7f89a83864dfc5abe23c61964c0c'
         '2e85a1b9559557dade6e87daf2abb673'
         '7f3045f740760c828e2e18293c2a4ab1'
         '91393e9cca0e6168f772fb48c88d3829')