summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d11471a76d15f4fa86c647b3482793a386a5359c (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
31
32
33
34
# Maintainer: milk <aur at milkmiruku dot com>
_pkgname="petri-foo"
pkgname="${_pkgname}-git"
pkgver=r224.3f2a456
pkgrel=1
pkgdesc="A fork of specimen, a MIDI controllable audio sampler, for JACK. sollapse fork."
arch=('i686' 'x86_64')
url="https://github.com/sollapse/Petri-Foo"
license=('GPL2')
depends=('jack' 'libgnomecanvas')
makedepends=('cmake')
optdepends=('liblo: Non Session Manager support')
provides=('petri-foo')
conflicts=('petri-foo')
source=('petri-foo::git+https://github.com/sollapse/Petri-Foo')
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgname"
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DUpdateMime:BOOL=OFF .
  make
}

package() {
  cd "$srcdir/$_pkgname"
  make DESTDIR="$pkgdir/" install
}

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