summaryrefslogtreecommitdiff
path: root/community/vmpk/PKGBUILD
blob: 5ce3556adfd87909aad9d1cf329c613b8893a855 (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
27
28
# Maintainer : speps <speps at aur dot archlinux dot org>

pkgname=vmpk
pkgver=0.5.1
pkgrel=1
pkgdesc="Virtual MIDI Piano Keyboard"
arch=('i686' 'x86_64')
url="http://vmpk.sourceforge.net/"
license=('GPL3')
depends=('qt4' 'jack')
makedepends=('cmake')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
md5sums=('07e376936c38c7c244374ff9ddca6a72')

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

  [ -d bld ] || mkdir bld && cd bld
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
           -DCMAKE_BUILD_TYPE=release
  make
}

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