summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 619d41c2379c47070bb46a0b32e174dcf1d77376 (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
35
36
37
#Maintainer: Evan Purkhiser <evanpurkhiser@gmail.com>
#Contributor: Lubosz Sarnecki <lubosz@gmail.com>

pkgname=libkeyfinder-git
pkgdesc="Musical key detection for digital audio."
url="http://www.ibrahimshaath.co.uk/keyfinder/"
license=('GPL3')
pkgver=239.0a5ec7f
pkgrel=1

provides=(libkeyfinder)
conflicts=(libkeyfinder)

source=("$pkgname::git://github.com/ibsh/libKeyFinder.git")
sha256sums=('SKIP')
depends=('fftw')
makedepends=('git' 'qt5-base')
arch=('i686' 'x86_64')

pkgver() {
  cd "$srcdir/$pkgname"
  echo $(git rev-list --count master).$(git rev-parse --short master)
}

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

  qmake-qt5
  make
}

package() {
  cd "$srcdir/$pkgname"

  mkdir -p ${pkgdir}/usr/include/keyfinder
  make INSTALL_ROOT="${pkgdir}" install
}