1 # Maintainer: Mario Kozjak <kozjakm1 at google's mail dot com!> and "archman-cro" at bbs.archlinux.org
5 pkgdesc="Drum Machine and Pattern-based Sequencer"
8 url="http://www.hydrogen-music.org/"
9 depends=('jack' 'liblrdf' 'qt' 'lash' 'libarchive')
11 conflicts=('hydrogen')
13 _svntrunk=http://svn.assembla.com/svn/hydrogen/trunk
19 if [ -d $_svnmod/.svn ]; then
20 (cd ${_svnmod} && svn up -r ${pkgver})
22 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
25 msg "SVN checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "${srcdir}/${_svnmod}-build"
29 cp -r "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
30 mkdir "${srcdir}/${_svnmod}-build/build"
34 cd "${srcdir}/${_svnmod}-build/build"
36 cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DWANT_LASH:BOOL=ON -DWANT_LIBARCHIVE:BOOL=ON ..
37 make DESTDIR="${pkgdir}" install