summaryrefslogtreecommitdiff
path: root/community/dangerdeep/PKGBUILD
blob: bd8309cb34ea775076350e2a65de0f6d51a87f29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 18091 2010-05-31 09:24:24Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=dangerdeep
pkgver=0.3.0
pkgrel=4
pkgdesc="submarine simulator"
arch=(i686 x86_64)
url="http://dangerdeep.sourceforge.net"
license=('GPL')
depends=(libgl sdl_net fftw sdl_image sdl_mixer mesa dangerdeep-data)
makedepends=(scons)
source=(http://downloads.sourceforge.net/sourceforge/dangerdeep/dangerdeep-$pkgver.tar.gz
	build-fix.patch)
md5sums=('8a1d19326a9a0bd8bb91a652bfa51bd9'
         'a1ee453b38b1805ae9f24b2dbc543473')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -p1 <$srcdir/build-fix.patch
  scons installbindir=$pkgdir/usr/bin datadir=/usr/share/dangerdeep install || return 1
}