summaryrefslogtreecommitdiff
path: root/community/naev/PKGBUILD
blob: 8636fc81fb97b3d7efa10b432c8e742d80def056 (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
# $Id: PKGBUILD 47428 2011-05-23 01:57:56Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Johan Rehnberg <cleanrock@gmail.com>

pkgname=naev
pkgver=0.5.0beta2
_pkgver=0.5.0-beta2
pkgrel=1
pkgdesc='2D action/rpg space game'
arch=('i686' 'x86_64')
url="http://code.google.com/p/naev/"
license=('GPL3')
depends=('openal' 'libvorbis' 'sdl_image' 'sdl_mixer' 'libgl' 'libxml2' 'freetype2' 'libpng' 'naev-data')
makedepends=('freeglut')
source=("http://naev.googlecode.com/files/${pkgname}-${_pkgver}.tar.bz2"
         "naev.png" "naev.desktop")
md5sums=('45d3abff357a347c3f2e9db93d184ba3'
         '5945aa4fa7c0b046ad48f2fb9cbbbdd3'
         '134032fb35eb2953e9a1bbee3a6dcf63')

build() {
  cd "$srcdir/$pkgname-$_pkgver"

  ./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
}