updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / sludge-engine / PKGBUILD
blob53a0718d03701576ab60c4ce26c96cd6c29fdb22
1 # Contributor: Eric Forgeot < http://ifiction.free.fr >
2 pkgname=sludge-engine
3 pkgver=2.0b
4 pkgrel=3
5 pkgdesc="Scripting Language for Unhindered Development of a Gaming Environment is a system by which anyone can make an adventure game. Engine only."
6 arch=(i686 x86_64)
7 url="http://opensludge.sourceforge.net/"
8 license=('gpl')
9 depends=('glibc' 'sdl' 'glee' 'libpng' 'freeglut' 'libvorbis' 'flac' 'dumb-autotools')
10 makedepends=('alure-git')
11 source=(http://downloads.sourceforge.net/sourceforge/opensludge/sludge-engine-2.0b-20100706.tar.gz)
12 md5sums=('14d52c4124fb5de81df9d3e05b61c655')
16 build() {
17   cd $srcdir/${pkgname}-${pkgver}
18   cp /usr/include/GL/GLee.h $srcdir/${pkgname}-${pkgver}/source/Engine/
19     ./configure --prefix=/usr
20         make || return 1
21         make DESTDIR=$startdir/pkg install || return 1
25 package() {
26         
27         mkdir -p $pkgdir/usr/share/${pkgname}
28         mkdir -p $pkgdir/usr/bin/
29         #cp $srcdir/${pkgname}-${pkgver}/source/Engine/${pkgname} $pkgdir/usr/bin/
30         cp $srcdir/${pkgname}-${pkgver}/README $pkgdir/usr/share/${pkgname}/
31         cp $srcdir/${pkgname}-${pkgver}/AUTHORS $pkgdir/usr/share/${pkgname}/
32