File PKGBUILD of Package nootka
# Maintainer: SeeLook <seelook@gmail.com>
pkgname=nootka
pkgver=1.4.7
pkgrel=1
pkgdesc="A crossplatform tool for learning classical score notation. Mostly for guitarists but also very good for ear training."
arch=('x86_64' 'i686')
url="http://nootka.sourceforge.net/"
license=('GPL3')
groups=()
depends=('qt5-base' 'fftw' 'shared-mime-info' 'libvorbis' 'soundtouch' 'libpulse' 'cmake' 'jack')
optdepends=('qt5-translations: support for other languages')
conflicts=('nootka-hg')
makedepends=('mercurial' 'cmake' 'qt5-base' 'fftw' 'libvorbis' 'soundtouch' 'alsa-lib')
install="${pkgname}.install"
source=(nootka-$pkgver-source.tar.bz2)
md5sums=('9193ef9ad8f3f4d54a128be931c6bb30')
build() {
cd "$srcdir/nootka-$pkgver-source"
mkdir "$srcdir/nootka-$pkgver-source/build"
cd "$srcdir/nootka-$pkgver-source/build"
cmake .. -DCMAKE_INSTALL_PREFIX='/usr'
make
}
package() {
cd "$srcdir/nootka-$pkgver-source/build"
make DESTDIR="$pkgdir/" install
}