summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 478ed3c98c72ada7a36166123c2c171bcb6dbd7b (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
29
30
# Maintainer: masutu <masutu dot arch at gmail dot com>
pkgname=petri-foo
pkgver=0.1.87
pkgrel=2
pkgdesc="A fork of specimen, a MIDI controllable audio sampler, for JACK."
arch=('i686' 'x86_64')
url="http://petri-foo.sourceforge.net/"
license=('GPL2')
depends=('jack' 'libgnomecanvas')
makedepends=('cmake')
optdepends=('liblo: Non Session Manager support')
install='petri-foo.install'
source=(http://sourceforge.net/projects/${pkgname}/files/Source/${pkgname}-${pkgver}.tar.bz2
        petri-foo-0.1.87_fix_recent_file_not_exist.patch)
md5sums=('40f8a224368187672f9f306f8a4fa8c5'
         '964db40cc53d77d42f6593f2201b9c40')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p1 < ../../petri-foo-0.1.87_fix_recent_file_not_exist.patch
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DUpdateMime:BOOL=OFF .
  make
}

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

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