# Maintainer: Christoph Wick <info@entropy-tuner.org>
pkgname=entropypianotuner
pkgver=1.2.0
pkgrel=1
pkgdesc="A tuner for your piano"
url="http://www.piano-tuner.org"
arch=('any')
license=('GPLv3')
depends=('qt5-base' 'qt5-multimedia' 'fftw')
makedepends=('qt5-base' 'qt5-tools' 'qt5-multimedia' 'fftw')
build() {
	# extract archive.tar.gz and move files to the source dir
	cd "${startdir}"
	tar -xzvf archive.tar.gz
	mv Entropy-Piano-Tuner*/* ${srcdir}

	# qmake and make the package
	cd "${srcdir}"
	qmake PREFIX="$pkgdir/usr" entropytuner.pro
	make
}

package() {
	# install the package
	cd ${srcdir}
	make install
}
