summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythinstall/PKGBUILD
blob: bd58a19746b1012f1db2e1c1dc49dcc5ca699cac (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
40
41
42
43
44
45
46
47
48
49
# Maintainer: Jams
pkgname=mythinstall
pkgver=1
pkgrel=13
pkgdesc="LinHES installer/systemconfig GUI."
arch=i686
depends=()
makedepends=(mythtv)

source=(autocard.cpp
	autocard.h
	infrared.cpp
	infrared.h
	installationtype.cpp
	installationtype.h
	installdialog.cpp
	installdialog.h
	installsettings.cpp
	installsettings.h
	main.cpp
	misc_settings.cpp
	misc_settings.h
	mv_common.h
	mythinstall.pro
	password_manage.cpp
	password_manage.h
	settemplate.cpp
	settemplate.h
	statusbox.cpp
	statusbox.h
	xorgsettings.cpp
	xorgsettings.h)

build() {

#   It is assumed that you have built the mythtv package in the same 
#   LinHES-PKGBUILD area.

    cd ${srcdir}
    qmake mythinstall.pro || return 1
    make || return 1
    MVBINDIR=$startdir/pkg/usr/MythVantage/bin
    mkdir -p $MVBINDIR
    install -m 0755 mythinstall $MVBINDIR/MythVantage
    cd $MVBINDIR
    ln -s MythVantage mythvantage
    ln -s MythVantage mythinstall
    cd -
}