# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=keyfinder-cli
pkgver=1.0.1
pkgrel=1
pkgdesc="Musical key detection for digital audio (command line)"
url="https://github.com/EvanPurkhiser/keyfinder-cli"
arch="all"
license="GPL"
makedepends="libkeyfinder-dev ffmpeg-dev"
subpackages="$pkgname-doc"
source="keyfinder-cli-$pkgver.tar.gz::https://github.com/EvanPurkhiser/keyfinder-cli/archive/v$pkgver.tar.gz"
options="!check"
builddir="$srcdir/keyfinder-cli-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX="/usr" DESTDIR="$pkgdir" install || return 1
}

sha512sums="a91a363c6b5174319e06ea21f526f764c8b21bdfdd66aba64c69d46a1880cb017fbd439088e6419106623291dd48e893b2f75a6a1738621289e5f84119074e9a  keyfinder-cli-1.0.1.tar.gz"
