summaryrefslogtreecommitdiff
path: root/community/libvisual-projectm/PKGBUILD
blob: ea201188d304f30553fb57c1aaf30e00170bfbb1 (plain)
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 61634 2009-12-20 18:27:47Z 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
}