Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#Maintainer: Lubosz Sarnecki <lubosz@gmail.com>
#Contributor: Evan Purkhiser <evanpurkhiser@gmail.com>
_realname=libkeyfinder
pkgname=$_realname-git
pkgver=221.97a98cc
pkgrel=1
pkgdesc="Musical key detection for digital audio."
arch=('i686' 'x86_64')
url="http://www.ibrahimshaath.co.uk/keyfinder/"
license=('GPL3')
depends=('fftw')
makedepends=('git' 'qt5-base')
provides=($_realname)
conflicts=($_realname)
source=("$pkgname::git://github.com/ibsh/libKeyFinder.git" "https://github.com/ibsh/libKeyFinder/pull/9.patch")
sha256sums=('SKIP' '0b8f3292045321831560d9120c5f15dc3ac4132aff1cef594fb7df60e86aa78a')
pkgver() {
cd "$srcdir/$pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir/$pkgname"
patch -p1 < "$srcdir/9.patch"
qmake-qt5
make
}
package() {
cd "$srcdir/$pkgname"
mkdir -p ${pkgdir}/usr/include/keyfinder
make INSTALL_ROOT="${pkgdir}" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.