# $Id: PKGBUILD 27240 2009-02-17 08:29:41Z eric $ # Maintainer: Alexander Baldeck pkgname=libvisual-projectm pkgver=1.2.0 pkgrel=1 pkgdesc="ProjectM XMMS plugin" arch=('i686' 'x86_64') url="http://projectm.sourceforge.net/" license=('GPL') depends=('gcc-libs' 'projectm>=1.2.0' 'libvisual>=0.4.0' 'sdl') makedepends=('pkgconfig' 'cmake') options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/projectm/projectM-libvisual-$pkgver.tar.bz2) md5sums=('41a90c5b8931a2cfcdd406eca89e83f9') build() { cd $srcdir/projectM-libvisual-$pkgver mkdir build cd build cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. || return 1 make || return make DESTDIR=$pkgdir install || return }