summaryrefslogtreecommitdiff
path: root/community/dangerdeep/PKGBUILD
blob: c08272acf958f6665cf098dc8c0b7de7031f078e (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 77850 2012-10-15 09:46:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

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

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