5 pkgdesc="A open-source application to help with learning classical score notation."
7 url="http://${_pkgname}.sourceforge.net/"
9 depends=('qt' 'fftw' 'shared-mime-info')
10 makedepends=('mercurial' 'cmake')
11 install="${pkgname}.install"
13 _hgroot="https://${_pkgname}.googlecode.com/hg/"
18 msg2 "Connecting to Mercurial server...."
19 if [ -d ${_hgrepo} ] ; then
20 cd ${_hgrepo} && hg pull -u
21 msg2 "Local files are up to date."
23 hg clone ${_hgroot} ${_hgrepo}
25 msg2 "Mercurial checkout done or server timeout."
26 if [[ -d "${srcdir}/${_pkgname}/build" ]]; then
27 msg2 "Cleaning the previous build directory..."
28 rm -rf "${srcdir}/${_pkgname}/build"
30 mkdir -p "${srcdir}/${_pkgname}/build"
31 cd "${srcdir}/${_pkgname}/build"
32 cmake .. -DCMAKE_INSTALL_PREFIX='/usr'
36 cd "${srcdir}/${_pkgname}/build"
37 make DESTDIR="${pkgdir}" install