blob: 843da2902616c0e486e87b6acbbaa1602dc09953 (
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
|
# $Id: PKGBUILD 90067 2013-05-06 19:38:39Z foutrelis $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Johan Rehnberg <cleanrock@gmail.com>
pkgname=naev
pkgver=0.5.3
pkgrel=2
pkgdesc='2D action/rpg space game'
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/naev/"
license=('GPL3')
depends=('glu' 'openal' 'libvorbis' 'sdl_image' 'sdl_mixer' 'libgl' 'libxml2' 'freetype2' 'libpng' 'naev-data')
makedepends=('freeglut')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('bec719b3daa33ec190d785120a7b0159')
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i "41 i #include <zlib.h>" src/opengl.c
./configure --prefix=/usr --disable-debug --disable-shave --with-ndata-path=/usr/share/naev/ndata-${pkgver}
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
|