summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62498694a55bef3837e02fc82aa088eaf279c00b (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
# Maintainer: SeeLook <seelook@gmail.com>
pkgname=nootka
pkgver=2.0.2
_pkgver=2.0.2
pkgrel=2
pkgdesc="A cross-platform tool for learning classical score notation. Sight reading and ear training."
arch=('x86_64' 'i686')
url="https://nootka.sourceforge.io/"
license=('GPL3')
groups=()
depends=('qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'fftw' 'shared-mime-info' 'libvorbis' 'soundtouch' 'alsa-lib')
optdepends=(
'libpulse: for PulseAudio'
'jack: for JACK'
'qt5-translations: for other languages support'
)
conflicts=('nootka-hg' 'nootka-git')
makedepends=('cmake' 'qt5-base' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'fftw' 'qt5-tools' 'libvorbis' 'soundtouch' 'alsa-lib')
source=("https://sourceforge.net/projects/nootka/files/Nootka-$_pkgver/nootka-$_pkgver-source.tar.bz2")
sha256sums=('6477722d9dfe4c2a50efbb5c36e0e5376d76e2a2c366ef43747e71ed12351c8b')

build() {
  cd "$srcdir/nootka-$_pkgver-source"
  mkdir "$srcdir/nootka-$_pkgver-source/build"
  cd "$srcdir/nootka-$_pkgver-source/build"
  cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX='/usr'
  make
}

package() {
  cd "$srcdir/nootka-$_pkgver-source/build"
  make DESTDIR="$pkgdir/" install
}