summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2478efa5b89dae2034b89886f54f9c0d62d53c05 (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=r226.5e73217
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/mxmilkiib/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: