1 # Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
2 # Contributor: hm_b <hb@uiae.de>
3 # Contributor: btartsa <btartsa@gmail.com>
8 pkgdesc="Non DAW is a powerful, reliable and fast modular Digital Audio Workstation"
9 url="http://non-daw.tuxfamily.org/"
11 arch=('i686' 'x86_64')
12 depends=('fltk' 'jack' 'liblrdf')
21 _gitroot="git://git.tuxfamily.org/gitroot/non/daw.git"
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
43 sed -e 's/ask "I/#ask /g' \
44 -i {timeline,mixer}/configure || return 1
45 sed -e 's/ask "B/#ask /g' \
46 -i {FL,nonlib,timeline,mixer}/configure || return 1
50 # answer them manually
51 sed -i '1s/.*$/prefix=\/usr\n&/g' {timeline,mixer}/.config
52 sed -i '1s/.*$/USE_DEBUG=no\n&/g' {FL,nonlib,timeline,mixer}/.config
56 mkdir -p $pkgdir/usr/{bin,share/pixmaps}
57 # change prefix before make install
58 sed -e "s|prefix=/usr|prefix=${pkgdir}/usr|g" \
59 -i {timeline,mixer}/.config || return 1