# Maintainer: Guest One <theguestone at gmail dot com>

pkgname=newtonator
pkgver=0.5.2
pkgrel=1
pkgdesc="An LV2 soft synth based on velocity and acceleration"
arch=('i686')
url="http://newtonator.sourceforge.net/"
license=('GPL3')
depends=('lv2' 'gtkmm')
makedepends=('cmake' 'lv2-c++-tools')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('2a9a809e4c8a4851911cb661bcab24c0')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  [ -d build ] || mkdir build && cd build

  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver/build"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: