# $Id: PKGBUILD 8766 2008-08-16 05:30:47Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
pkgname=projectm
pkgver=0.99
pkgrel=2
pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering"
arch=(i686 x86_64)
url="http://xmms-projectm.sourceforge.net"
license="GPL"
depends=('ftgl' 'glut')
makedepends=('pkgconfig' 'xproto')
install=projectm.install
source=(http://downloads.sourceforge.net/sourceforge/projectm/libprojectM-$pkgver.tar.bz2)
md5sums=('20dc0aa2af96340c3209c9795cc3217d')

build() {
  cd $startdir/src/libprojectM
  ./configure --prefix=/usr
  make || return
  make DESTDIR=$startdir/pkg install
}