diff options
Diffstat (limited to 'abs/core/mythinstall/PKGBUILD')
-rw-r--r-- | abs/core/mythinstall/PKGBUILD | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/abs/core/mythinstall/PKGBUILD b/abs/core/mythinstall/PKGBUILD index f5265a6..96f7b8d 100644 --- a/abs/core/mythinstall/PKGBUILD +++ b/abs/core/mythinstall/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Jams pkgname=mythinstall pkgver=8.1 -pkgrel=4 +pkgrel=5 pkgdesc="LinHES installer/systemconfig GUI." arch=('i686' 'x86_64') depends=('mythtv>=0.27') @@ -9,26 +9,36 @@ makedepends=('mythtv>=0.27') logofiles=`ls logo*.png` source=('install-ui.xml' $logofiles) +build() { +# if [ -d $srcdir/MythVantage-app ] +# then +# msg "Removing old MythVantage-app src" +# rm -rf $srcdir/MythVantage-app +# fi + msg "Copying MythVantage-app to src" +# cp -a $startdir/MythVantage-app $srcdir + rsync -au $startdir/MythVantage-app $srcdir + + msg "Building mythinstall" + cd $srcdir/MythVantage-app/mythinstall && qmake + make || exit 1 +} + 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 + install -m 0755 $srcdir/MythVantage-app/mythinstall/mythinstall $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 + install -D -m 0755 $srcdir/$i $pkgdir/usr/MythVantage/logos/$i done - } + md5sums=('39d6b7bd1ee305c5523a3cf66d4c2338' '3291ad55fe6d7884fc732313f1cc2924' '80c0326a253df275afbe875a8ec14a3c' |