updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / fgx / PKGBUILD
blob7baea4200534091c6fc87beb71d4a384d60eabac
1 #contributor Coman Mihai <mihai@m1x.ro>
2 pkgname=fgx
3 pkgver=2.4.0b4
4 pkgrel=1
5 pkgdesc="Launcher for free and open source FlightGear Flight Simulator, based on Qt"
6 arch=('i686' )
7 license=('GPL')
8 depends=('qt' )
9 url="http://code.google.com/p/fgx/"
10 install=fgx.install
11 source=('http://fgx.googlecode.com/files/FGx-2.4.0b4-source.tar.gz' 
12         'fgx.desktop')
13 md5sums=('52de92584bc78cf012021babf44cbf04'
14          '6f878be0df59959f48b0c63c97e5f638')
16 build() {
17         tar -xvzf FGx-2.4.0b4-source.tar.gz -C $srcdir
18         cd $srcdir/fgx-fgx/src
19         qmake && make
22 package() {
23         install -m655 -D "${srcdir}/fgx-fgx/src/fgx" "${pkgdir}/usr/bin/fgx"
24         install -m644 -D "${srcdir}/fgx-fgx/src/resources/icons/fgx-logo-flyeronly.png" "${pkgdir}/usr/share/pixmaps/fgx.png"
25         install -m644 -D "${srcdir}/fgx.desktop" "${pkgdir}/usr/share/applications/fgx.desktop"