blob: 99d6e8a9c5efee982275c72555c78c932d7f7dac (
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 77291 2012-10-08 15:04:07Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: andrewski
pkgname=gl-117
pkgver=1.3.2
pkgrel=6
pkgdesc="An action flight simulator"
arch=('i686' 'x86_64')
url="http://www.heptargon.de/gl-117/gl-117.html"
license=("GPL")
depends=('freeglut' 'sdl_mixer' 'libxmu' 'libxi' 'glu')
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
}
|