diff options
author | Jose Riha | 2020-04-17 15:41:25 +0200 |
---|---|---|
committer | Jose Riha | 2020-04-17 15:41:25 +0200 |
commit | 82d9580f80497271c49c9c2eb9502749bae2490f (patch) | |
tree | e28a5fa9ecbb585e4a914c855804b43813203e23 /PKGBUILD | |
download | aur-nootka-git.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..89bb1835423e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Jose Riha <jose1711 gmail com> + +pkgname=nootka-git +pkgver=r3683.29c8ac7e +pkgrel=1 +pkgdesc="Tool for learning classical score notation (git)" +arch=('x86_64' 'i686') +url="http://nootka.sourceforge.net/" +license=('GPL3') +depends=('qt5-base' 'fftw' 'shared-mime-info' 'libvorbis' 'soundtouch' 'alsa-lib') +optdepends=( +'libpulse: for PulseAudio' +'jack: for JACK' +'qt5-translations: for other languages support' +) +conflicts=('nootka' 'nootka-hg') +replaces=('nootka-hg') +makedepends=('cmake' 'qt5-base' 'fftw' 'libvorbis' 'soundtouch' 'alsa-lib' 'git') +source=("${pkgname}"::'git+https://www.opencode.net/seelook/nootka.git') +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + + +build() { + cd "$srcdir/nootka-git" + [ ! -d build ] && mkdir build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX='/usr' + make +} + +package() { + cd "$srcdir/nootka-git/build" + make DESTDIR="$pkgdir/" install +} |