PKGBUILD 759 Bytes
Newer Older
Jan Mette's avatar
Jan Mette committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# $Id: PKGBUILD 61635 2009-12-20 18:28:33Z andrea $
# Contributor: Alexander Baldeck <alexander@archlinux.org>

pkgname=libvisual-projectm
pkgver=2.0.1
pkgrel=1
pkgdesc="ProjectM XMMS plugin"
arch=('i686' 'x86_64')
url="http://projectm.sourceforge.net/"
license=('GPL')
depends=('projectm>=2.0.1' 'libvisual' 'sdl')
makedepends=('pkgconfig' 'cmake' 'libxext')
options=('!libtool')
source=(http://downloads.sourceforge.net/projectm/projectM_libvisual-${pkgver}-Source.tar.gz)
md5sums=('35e09b09210d48b437e3574bd00b15a8')

build() {
  cd ${srcdir}
  mkdir build
  cd build
  cmake ../projectM_libvisual-${pkgver}-Source \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release || return 1
  make || return
  make DESTDIR=${pkgdir} install || return
}