summaryrefslogtreecommitdiff
path: root/community/gl-117/PKGBUILD
blob: 7bd90379bf8fb44186c49381344ad32a227687cc (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
# $Id: PKGBUILD 65522 2012-02-21 08:42:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: andrewski

pkgname=gl-117
pkgver=1.3.2
pkgrel=5
pkgdesc="An action flight simulator"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.heptargon.de/gl-117/gl-117.html"
license=("GPL")
depends=('freeglut' 'sdl_mixer' 'libxmu' 'libxi')
source=(http://downloads.sourceforge.net/project/gl-117/gl-117/GL-117%20Source/gl-117-$pkgver-src.tar.bz2
	gl-117.desktop
	gl-117.png)
md5sums=('aad53c5531943529fd769fae4efeae02'
         'db985c5188f1706677b12dc80b797779'
         '6975de5572084b78d3ec1a748de85164')

build() {
  cd $srcdir/gl-117-$pkgver-src
  # This will link everything to these three libraries,
  # but it wouldn't work otherwise.  The devs have been contacted.
  LDFLAGS="-lX11 -lXi -lXmu" ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir install
  install -D -m0644 $srcdir/gl-117.desktop $pkgdir/usr/share/applications/gl-117.desktop
  install -D -m0644 $srcdir/gl-117.png $pkgdir/usr/share/pixmaps/gl-117.png
}