updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ballandpaddle / PKGBUILD
blob23ca058d18284222d06fdc18b05a002c3e8c3541
2 # Maintainer: Dany Martineau <dany.luc.martineau gmail.com>
4 pkgname=ballandpaddle
5 pkgver=0.8.1
6 pkgrel=1
7 pkgdesc="Extensible ball and paddle game that lets you script the events and attributes of the objects (balls, blocks, powerups, etc.) with GNU Guile."
8 arch=('i686' 'x86_64')
9 url="http://www.gnu.org/software/ballandpaddle/"
10 license=(GPL)
11 depends=('sdl_image' 'sdl_mixer' 'sdl_ttf' 'guile')
12 madepends=('make')
13 source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz )
14 md5sums=('685c2eb372f0aedfcf0b6addd5b05355')
15 install=(ballandpaddle.install)
17 build() {
18 cd $startdir/src/$pkgname-$pkgver/src
19 sed -i '1i#include <cstdlib>' settingsmanager.cpp
20 cd ..
21 ./configure --prefix=/usr
22 make || return 1
23 make DESTDIR=$startdir/pkg install
24 # move conflicting files
25 rm $pkgdir/usr/share/info/dir